Auxiliary data provided when sending using an IP sock object. More...
#include <ip.h>
Data Fields | |
sock_ip_ep_t | local |
The local endpoint from which the datagram will be sent. | |
uint64_t | timestamp |
System time the packet was send. | |
sock_aux_flags_t | flags |
Flags used request information. | |
sock_aux_flags_t sock_ip_aux_tx_t::flags |
sock_ip_ep_t sock_ip_aux_tx_t::local |
The local endpoint from which the datagram will be sent.
uint64_t sock_ip_aux_tx_t::timestamp |
System time the packet was send.
Add SOCK_AUX_GET_TIMESTAMP to the bitmask in sock_ip_aux_tx_t::flags to request a transmission timestamp. This bit will be cleared by sock_ip_send_aux if and only if the timestamp was provided. The module sock_aux_timestamp
needs to be selected to use this. The timestamp refers to the transmission of start of frame delimiter or preamble of the frame carrying the IP packet and is given in nanoseconds since epoch, unless otherwise documented by the underlying implementation.