96 } inter_msg_interval_args;
104 } report_msg_sent_args;
112 } report_msg_discarded_args;
123 } report_msgs_timeout_args;
134 } report_msgs_lost_args;
143 } report_msg_acked_args;
154 } report_ecn_ce_args;
void congure_mock_snd_setup(congure_mock_snd_t *c, const congure_snd_driver_t *methods)
Sets up the driver for CongURE mock object.
uint32_t ztimer_now_t
type for ztimer_now() result
A mock CongURE state object.
congure_snd_t * c
The CongURE object to initialize.
congure_snd_t super
see congure_snd_t
congure_snd_ack_t * ack
The received ACK.
uint8_t report_msgs_lost_calls
How often was the congure_snd_driver_t::report_msgs_lost() method called?
void * ctx
Context for callbacks specific to CC.
uint8_t report_msg_acked_calls
How often was the congure_snd_driver_t::report_msg_acked() method called?
congure_snd_msg_t * msg
The ACK'd message.
uint8_t init_calls
How often was the congure_snd_driver_t::init() method called?
const congure_snd_driver_t * methods
Optional methods called in addition to the tracking functions of the mock driver.
ztimer_now_t time
Timestamp of the message the CE event occurred for was sent.
unsigned msg_size
The size of the next message to send.
uint8_t report_msg_discarded_calls
How often was the congure_snd_driver_t::report_msg_discarded() method called?
uint8_t inter_msg_interval_calls
How often was the congure_snd_driver_t::inter_msg_interval() method called?
congure_snd_msg_t * msgs
A collection of messages for which the ACK timed out.
uint8_t report_msgs_timeout_calls
How often was the congure_snd_driver_t::report_msgs_timeout() method called?
uint8_t report_ecn_ce_calls
How often was the congure_snd_driver_t::report_ecn_ce() method called?
uint8_t report_msg_sent_calls
How often was the congure_snd_driver_t::report_msg_sent() method called?
Object to represent an ACK to a message.
Driver for CongURE objects.
Object to represent a collection of sent messages.
Base state object for CongURE implementations.