in Reference
File
lib/posix/include/posix/netinet/in.h
Date
Wednesday, June 25, 2014
Includes
-
<arpa/inet.h>
-
<inttypes.h>
-
<sys/socket.h>
- <system/types/in_port_t.h>
- <system/types/in_addr_t.h>
- <system/types/sa_family_t.h>
- <system/types/uint8_t.h>
- <system/types/uint32_t.h>
- <system/types/struct_in_addr.h>
- <system/types/struct_sockaddr_in.h>
- <system/types/struct_in6_addr.h>
- <system/types/struct_sockaddr_in6.h>
- <system/types/struct_ipv6_mreq.h>
- <system/types/inet_addrstrlen.h>
- <system/types/inet6_addrstrlen.h>
Macros
__XEOS_LIB_POSIX_NETINET_IN_H__
Top
#define __XEOS_LIB_POSIX_NETINET_IN_H__
IN6_IS_ADDR_LINKLOCAL
Top
#define IN6_IS_ADDR_LINKLOCAL( _s_ ) 0
IN6_IS_ADDR_LOOPBACK
Top
#define IN6_IS_ADDR_LOOPBACK( _s_ ) 0
IN6_IS_ADDR_MC_GLOBAL
Top
#define IN6_IS_ADDR_MC_GLOBAL( _s_ ) 0
IN6_IS_ADDR_MC_LINKLOCAL
Top
#define IN6_IS_ADDR_MC_LINKLOCAL( _s_ ) 0
IN6_IS_ADDR_MC_NODELOCAL
Top
#define IN6_IS_ADDR_MC_NODELOCAL( _s_ ) 0
IN6_IS_ADDR_MC_ORGLOCAL
Top
#define IN6_IS_ADDR_MC_ORGLOCAL( _s_ ) 0
IN6_IS_ADDR_MC_SITELOCAL
Top
#define IN6_IS_ADDR_MC_SITELOCAL( _s_ ) 0
IN6_IS_ADDR_MULTICAST
Top
#define IN6_IS_ADDR_MULTICAST( _s_ ) 0
IN6_IS_ADDR_SITELOCAL
Top
#define IN6_IS_ADDR_SITELOCAL( _s_ ) 0
IN6_IS_ADDR_UNSPECIFIED
Top
#define IN6_IS_ADDR_UNSPECIFIED( _s_ ) 0
IN6_IS_ADDR_V4COMPAT
Top
#define IN6_IS_ADDR_V4COMPAT( _s_ ) 0
IN6_IS_ADDR_V4MAPPED
Top
#define IN6_IS_ADDR_V4MAPPED( _s_ ) 0
IN6ADDR_ANY_INIT
Top
#define IN6ADDR_ANY_INIT {{ \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00 \
}}
IN6ADDR_LOOPBACK_INIT
Top
#define IN6ADDR_LOOPBACK_INIT {{ \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x01 \
}}
INADDR_ANY
Top
#define INADDR_ANY ( ( in_addr_t )0x00000000 )
INADDR_BROADCAST
Top
#define INADDR_BROADCAST ( ( in_addr_t )0xFFFFFFFF )
IPPROTO_ICMP
Top
#define IPPROTO_ICMP 3
IPPROTO_IP
Top
#define IPPROTO_IP 0
IPPROTO_IPV6
Top
#define IPPROTO_IPV6 2
IPPROTO_RAW
Top
#define IPPROTO_RAW 4
IPPROTO_TCP
Top
#define IPPROTO_TCP 5
IPPROTO_UDP
Top
#define IPPROTO_UDP 6
IPV6_JOIN_GROUP
Top
#define IPV6_JOIN_GROUP 1
IPV6_LEAVE_GROUP
Top
#define IPV6_LEAVE_GROUP 2
IPV6_MULTICAST_HOPS
Top
#define IPV6_MULTICAST_HOPS 3
IPV6_MULTICAST_IF
Top
#define IPV6_MULTICAST_IF 4
IPV6_MULTICAST_LOOP
Top
#define IPV6_MULTICAST_LOOP 5
IPV6_UNICAST_HOPS
Top
#define IPV6_UNICAST_HOPS 6
IPV6_V6ONLY
Top
#define IPV6_V6ONLY 7
Constants
in6addr_any
Top
extern const struct in6_addr in6addr_any;
in6addr_loopback
Top
extern const struct in6_addr in6addr_loopback;