pub const SOCK_AUX_GET_TIMESTAMP: _bindgen_ty_4 = 2;
Expand description

@brief Flag to request the time stamp of transmission / reception

@note Select module sock_aux_timestamp and a compatible network stack to use this

Unless otherwise noted, the time stamp is the current system time in nanoseconds on which the start of frame delimiter or preamble was sent / received.

Set this flag in the auxiliary data structure prior to the call of @ref sock_udp_recv_aux / @ref sock_udp_send_aux / @ref sock_ip_recv_aux / etc. to request the time stamp of reception / transmission. This flag will be cleared if the timestamp was stored, otherwise it remains set.

Depending on the family of the socket, the timestamp will be stored in for reception in @ref sock_udp_aux_rx_t::timestamp, @ref sock_ip_aux_rx_t::timestamp, or @ref sock_dtls_aux_rx_t::timestamp. For transmission it will be stored in @ref sock_udp_aux_tx_t::timestamp, @ref sock_ip_aux_tx_t::timestamp, or @ref sock_dtls_aux_tx_t::timestamp.