|
| #define | IN6ADDR_ANY_INIT { { 0 } } |
| | IPv6 wildcard address initializer.
|
| |
| #define | IN6ADDR_LOOPBACK_INIT |
| | IPv6 loopback address initializer.
|
| |
| #define | IPPROTO_IP NET_IPPROTO_IP |
| | Dummy protocol for IP.
|
| |
| #define | IPPROTO_IPV6 NET_IPPROTO_IPV6 |
| | IPv6 header.
|
| |
| #define | IPPROTO_ICMP NET_IPPROTO_ICMP |
| | Internet Control Message Protocol.
|
| |
| #define | IPPROTO_RAW NET_IPPROTO_RAW |
| | Raw IP packets.
|
| |
| #define | IPPROTO_TCP NET_IPPROTO_TCP |
| | Transmission Control Protocol.
|
| |
| #define | IPPROTO_UDP NET_IPPROTO_UDP |
| | User Datagram Protocol.
|
| |
| #define | INADDR_ANY ((in_addr_t)NET_INADDR_ANY) |
| | IPv4 wildcard address (0.0.0.0).
|
| |
| #define | INADDR_BROADCAST ((in_addr_t)NET_INADDR_BROADCAST) |
| | IPv4 broadcast address.
|
| |
| #define | INET_ADDRSTRLEN NET_INET_ADDRSTRLEN |
| | Maximum length of an IPv4 address string.
|
| |
| #define | htonl(x) net_htonl(x) |
| | Convert a 32-bit value from host to network byte order.
|
| |
| #define | htons(x) net_htons(x) |
| | Convert a 16-bit value from host to network byte order.
|
| |
| #define | ntohl(x) net_ntohl(x) |
| | Convert a 32-bit value from network to host byte order.
|
| |
| #define | ntohs(x) net_ntohs(x) |
| | Convert a 16-bit value from network to host byte order.
|
| |
| #define | INET6_ADDRSTRLEN NET_INET6_ADDRSTRLEN |
| | Maximum length of an IPv6 address string.
|
| |
| #define | IPV6_JOIN_GROUP ZSOCK_IPV6_JOIN_GROUP |
| | Join an IPv6 multicast group.
|
| |
| #define | IPV6_LEAVE_GROUP ZSOCK_IPV6_LEAVE_GROUP |
| | Leave an IPv6 multicast group.
|
| |
| #define | IPV6_MULTICAST_HOPS ZSOCK_IPV6_MULTICAST_HOPS |
| | Hop limit for multicast packets.
|
| |
| #define | IPV6_MULTICAST_IF ZSOCK_IPV6_MULTICAST_IF |
| | Outgoing interface for multicast packets.
|
| |
| #define | IPV6_MULTICAST_LOOP ZSOCK_IPV6_MULTICAST_LOOP |
| | Loopback of outgoing multicast packets.
|
| |
| #define | IPV6_UNICAST_HOPS ZSOCK_IPV6_UNICAST_HOPS |
| | Hop limit for unicast packets.
|
| |
| #define | IPV6_V6ONLY ZSOCK_IPV6_V6ONLY |
| | Restrict the socket to IPv6 communication only.
|
| |
| #define | IN6_IS_ADDR_UNSPECIFIED(addr) ZSOCK_IN6_IS_ADDR_UNSPECIFIED(addr) |
| | Test whether an IPv6 address is the unspecified address (::).
|
| |
| #define | IN6_IS_ADDR_LOOPBACK(addr) ZSOCK_IN6_IS_ADDR_LOOPBACK(addr) |
| | Test whether an IPv6 address is the loopback address (::1).
|
| |
| #define | IN6_IS_ADDR_MULTICAST(addr) ZSOCK_IN6_IS_ADDR_MULTICAST(addr) |
| | Test whether an IPv6 address is a multicast address (ff00::/8).
|
| |
| #define | IN6_IS_ADDR_LINKLOCAL(addr) ZSOCK_IN6_IS_ADDR_LINKLOCAL(addr) |
| | Test whether an IPv6 address is link-local unicast (fe80::/10).
|
| |
| #define | IN6_IS_ADDR_SITELOCAL(addr) ZSOCK_IN6_IS_ADDR_SITELOCAL(addr) |
| | Test whether an IPv6 address is site-local unicast (fec0::/10).
|
| |
| #define | IN6_IS_ADDR_V4MAPPED(addr) ZSOCK_IN6_IS_ADDR_V4MAPPED(addr) |
| | Test whether an IPv6 address is an IPv4-mapped IPv6 address.
|
| |
| #define | IN6_IS_ADDR_MC_NODELOCAL(addr) ZSOCK_IN6_IS_ADDR_MC_NODELOCAL(addr) |
| | Test whether an IPv6 multicast address has node-local scope (ff01::/8).
|
| |
| #define | IN6_IS_ADDR_MC_LINKLOCAL(addr) ZSOCK_IN6_IS_ADDR_MC_LINKLOCAL(addr) |
| | Test whether an IPv6 multicast address has link-local scope (ff02::/8).
|
| |
| #define | IN6_IS_ADDR_MC_SITELOCAL(addr) ZSOCK_IN6_IS_ADDR_MC_SITELOCAL(addr) |
| | Test whether an IPv6 multicast address has site-local scope (ff03::/8).
|
| |
| #define | IN6_IS_ADDR_MC_ORGLOCAL(addr) ZSOCK_IN6_IS_ADDR_MC_ORGLOCAL(addr) |
| | Test whether an IPv6 multicast address has organization-local scope (ff04::/8).
|
| |
| #define | IN6_IS_ADDR_MC_GLOBAL(addr) ZSOCK_IN6_IS_ADDR_MC_GLOBAL(addr) |
| | Test whether an IPv6 multicast address has global scope (ff00::/8).
|
| |
Internet address types and constants (<netinet/in.h>)
- See also
- POSIX.1-2017 <netinet/in.h>
Definition in file in.h.