#define h_addr h_addr_list[0] /* address, for backward compatiblity */
};
-
/*
* addrinfo introduced with IPv6 for Protocol-Independent Hostname
* and Service Name Translation.
struct addrinfo *ai_next; /* next structure in linked list */
};
-
/* addrinfo flags */
#define AI_PASSIVE 0x0008 /* intended for bind() + listen() */
#define AI_CANONNAME 0x0010 /* return canonical version of host */
#define AI_ALL 0x0002 /* IPv6 and IPv4 mapped addresses */
#define AI_ADDRCONFIG 0x0004 /* AAAA or A records only if IPv6/IPv4 cnfg'd */
-
/*
* These were defined in RFC 2553 but not SUSv3
* or RFC 3493 which obsoleted 2553.
*/
#define SCOPE_DELIMITER '%'
-
/*
* Algorithm entry for /etc/inet/ipsecalgs which defines IPsec protocols
* and algorithms.