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