Abstract IP end point and end point for a raw IP sock object. More...
Abstract IP end point and end point for a raw IP sock object.
#include <sock.h>
Data Fields | ||
| int | family | |
| family of sock_ip_ep_t::addr | ||
| union { | ||
| uint8_t ipv6 [16] | ||
| IPv6 address mode. More... | ||
| uint8_t ipv4 [4] | ||
| IPv4 address mode. More... | ||
| uint32_t ipv4_u32 | ||
| IPv4 address in network byte order More... | ||
| } | addr | |
| address | ||
| uint16_t | netif | |
| stack-specific network interface ID | ||
| int sock_ip_ep_t::family |
| uint32_t sock_ip_ep_t::ipv4_u32 |
| uint8_t sock_ip_ep_t::ipv6[16] |
IPv6 address mode.
| uint16_t sock_ip_ep_t::netif |
stack-specific network interface ID
Use SOCK_ADDR_ANY_NETIF for any interface. For reception this is the local interface the message came over, for transmission, this is the local interface the message should be send over