A mock CongURE state object. More...
#include <mock.h>
Data Fields | |
congure_snd_t | super |
see congure_snd_t | |
const congure_snd_driver_t * | methods |
Optional methods called in addition to the tracking functions of the mock driver. | |
uint8_t | init_calls |
How often was the congure_snd_driver_t::init() method called? | |
uint8_t | inter_msg_interval_calls |
How often was the congure_snd_driver_t::inter_msg_interval() method called? | |
uint8_t | report_msg_sent_calls |
How often was the congure_snd_driver_t::report_msg_sent() method called? | |
uint8_t | report_msg_discarded_calls |
How often was the congure_snd_driver_t::report_msg_discarded() method called? | |
uint8_t | report_msgs_timeout_calls |
How often was the congure_snd_driver_t::report_msgs_timeout() method called? | |
uint8_t | report_msgs_lost_calls |
How often was the congure_snd_driver_t::report_msgs_lost() method called? | |
uint8_t | report_msg_acked_calls |
How often was the congure_snd_driver_t::report_msg_acked() method called? | |
uint8_t | report_ecn_ce_calls |
How often was the congure_snd_driver_t::report_ecn_ce() method called? | |
struct { | |
congure_snd_t * c | |
The CongURE object to initialize. | |
void * ctx | |
Context for callbacks specific to CC. | |
} | init_args |
What were the arguments for the last congure_snd_driver_t::init() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
unsigned msg_size | |
The size of the next message to send. | |
} | inter_msg_interval_args |
What were the arguments for the last congure_snd_driver_t::inter_msg_interval() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
unsigned msg_size | |
Size of the message. | |
} | report_msg_sent_args |
What were the arguments for the last congure_snd_driver_t::report_msg_sent() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
unsigned msg_size | |
Size of the message. | |
} | report_msg_discarded_args |
What were the arguments for the last congure_snd_driver_t::report_msg_discarded() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
congure_snd_msg_t * msgs | |
A collection of messages for which the ACK timed out. | |
} | report_msgs_timeout_args |
What were the arguments for the last congure_snd_driver_t::report_msgs_timeout() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
congure_snd_msg_t * msgs | |
A collection of messages that are known to be lost. | |
} | report_msgs_lost_args |
What were the arguments for the last congure_snd_driver_t::report_msgs_lost() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
congure_snd_msg_t * msg | |
The ACK'd message. | |
congure_snd_ack_t * ack | |
The received ACK. | |
} | report_msg_acked_args |
What were the arguments for the last congure_snd_driver_t::report_msg_acked() call? | |
struct { | |
congure_snd_t * c | |
The CongURE state object. | |
ztimer_now_t time | |
Timestamp of the message the CE event occurred for was sent. | |
} | report_ecn_ce_args |
What were the arguments for the last congure_snd_driver_t::report_ecn_ce() call? | |
![]() | |
const congure_snd_driver_t * | driver |
Driver for the state object. More... | |
void * | ctx |
Context for callbacks specific to the congestion control. More... | |
congure_wnd_size_t | cwnd |
Congestion window size. | |
congure_snd_t* congure_mock_snd_t::c |
unsigned congure_mock_snd_t::msg_size |
congure_snd_msg_t* congure_mock_snd_t::msgs |