riot_sys

Constant SOCK_AUX_GET_LOCAL

Source
pub const SOCK_AUX_GET_LOCAL: _bindgen_ty_5 = 1;
Expand description

@brief Flag to request the local address/endpoint

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

This is the address/endpoint the packet/datagram/segment was received on. This flag will be cleared if the network stack stored the local address/endpoint as requested, otherwise the bit remains set.

Depending on the family of the socket, the timestamp will be stored in @ref sock_udp_aux_rx_t::local, @ref sock_ip_aux_rx_t::local, or in @ref sock_dtls_aux_rx_t::local.