Loading...
Searching...
No Matches
sock_udp_aux_tx_t Struct Reference

Auxiliary data provided when sending using an UDP sock object. More...

Detailed Description

Auxiliary data provided when sending using an UDP sock object.

Definition at line 349 of file udp.h.

#include <udp.h>

Data Fields

sock_udp_ep_t local
 The local endpoint from which the datagram will be sent.
 
uint64_t timestamp
 System time the datagram was send.
 
sock_aux_flags_t flags
 Flags used request information.
 

Field Documentation

◆ flags

sock_aux_flags_t sock_udp_aux_tx_t::flags

Flags used request information.

Definition at line 373 of file udp.h.

◆ local

sock_udp_ep_t sock_udp_aux_tx_t::local

The local endpoint from which the datagram will be sent.

See also
SOCK_AUX_SET_LOCAL

Definition at line 356 of file udp.h.

◆ timestamp

uint64_t sock_udp_aux_tx_t::timestamp

System time the datagram was send.

Add SOCK_AUX_GET_TIMESTAMP to the bitmask in sock_udp_aux_tx_t::flags to request a transmission timestamp. This bit will be cleared by sock_udp_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 datagram and is given in nanoseconds since epoch, unless otherwise documented by the underlying implementation.

Definition at line 371 of file udp.h.


The documentation for this struct was generated from the following file: