Go to the documentation of this file.
117 #define SOCK_HAS_IPV6
123 #define SOCK_HAS_ASYNC
134 #define SOCK_HAS_ASYNC_CTX
144 #define SOCK_FLAGS_REUSE_EP (0x0001)
152 #define SOCK_ADDR_ANY_NETIF (0)
157 #define SOCK_IPV4_EP_ANY { .family = AF_INET, \
158 .netif = SOCK_ADDR_ANY_NETIF }
160 #if defined(SOCK_HAS_IPV6) || defined(DOXYGEN)
164 #define SOCK_IPV6_EP_ANY { .family = AF_INET6, \
165 .netif = SOCK_ADDR_ANY_NETIF }
171 #define SOCK_NO_TIMEOUT (UINT32_MAX)
uint8_t ipv6[16]
IPv6 address mode.
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
int family
family of sock_ip_ep_t::addr
uint32_t ipv4_u32
IPv4 address in network byte order
Common IP-based transport layer end point.
union _sock_tl_ep::@291 addr
address
uint16_t port
transport layer port (in host byte order)
uint8_t ipv4[4]
IPv4 address mode.
uint16_t netif
stack-specific network interface ID
Abstract IP end point and end point for a raw IP sock object.