125#define SOCK_HAS_ASYNC
136#define SOCK_HAS_ASYNC_CTX
146#define SOCK_FLAGS_REUSE_EP (0x0001)
147#define SOCK_FLAGS_CONNECT_REMOTE (0x0002)
154#define SOCK_ADDR_ANY_NETIF (0)
159#define SOCK_IPV4_EP_ANY { .family = AF_INET, \
160 .netif = SOCK_ADDR_ANY_NETIF }
162#if defined(SOCK_HAS_IPV6) || defined(DOXYGEN)
166#define SOCK_IPV6_EP_ANY { .family = AF_INET6, \
167 .netif = SOCK_ADDR_ANY_NETIF }
173#define SOCK_NO_TIMEOUT (UINT32_MAX)
uint8_t sock_aux_flags_t
Type holding the flags used to request specific auxiliary data.
@ SOCK_AUX_GET_TTL
Flag to request the TTL value of received frame.
@ SOCK_AUX_SET_LOCAL
Flag to set the local address/endpoint.
@ SOCK_AUX_GET_LOCAL
Flag to request the local address/endpoint.
@ SOCK_AUX_GET_TIMESTAMP
Flag to request the time stamp of transmission / reception.
@ SOCK_AUX_GET_RSSI
Flag to request the RSSI value of received frame.
iolist scatter / gather IO
Common IP-based transport layer end point.
uint16_t port
transport layer port (in host byte order)
union _sock_tl_ep::@384 addr
address
int family
family of sock_ip_ep_t::addr
uint32_t ipv4_u32
IPv4 address in network byte order
uint16_t netif
stack-specific network interface ID
uint8_t ipv4[4]
IPv4 address mode.
uint8_t ipv6[16]
IPv6 address mode.
Abstract IP end point and end point for a raw IP sock object.
uint32_t ipv4_u32
IPv4 address in network byte order
uint16_t netif
stack-specific network interface ID
int family
family of sock_ip_ep_t::addr