1833220 Members
3369 Online
110051 Solutions
New Discussion

Value of AF_INET6

 
Tony Hsu
New Member

Value of AF_INET6

Can anyone tell me what's the value of AF_INET6 in sys/socket.h for HP-UX 11i IPv6?

Regards,

Tony
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Value of AF_INET6

22


live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Value of AF_INET6

#define AF_UNSPEC 0 /* unspecified */
#define AF_UNIX 1 /* local to host (pipes, portals) */
#define AF_INET 2 /* internetwork: UDP, TCP, etc. */
#define AF_IMPLINK 3 /* arpanet imp addresses */
#define AF_PUP 4 /* pup protocols: e.g. BSP */
#define AF_CHAOS 5 /* mit CHAOS protocols */
#define AF_NS 6 /* XEROX NS protocols */
#define AF_NBS 7 /* nbs protocols */
#define AF_ECMA 8 /* european computer manufacturers */
#define AF_DATAKIT 9 /* datakit protocols */
#define AF_CCITT 10 /* CCITT protocols, X.25 etc */
#define AF_SNA 11 /* IBM SNA */
#define AF_DECnet 12 /* DECnet */
#define AF_DLI 13 /* Direct data link interface */
#define AF_LAT 14 /* LAT */
#define AF_HYLINK 15 /* NSC Hyperchannel */
#define AF_APPLETALK 16 /* Apple Talk */
#define AF_OTS 17 /* Used for OSI in the ifnets */
#define AF_NIT 18 /* NIT */
#define AF_VME_LINK 19 /* VME backplane protocols */
#define AF_KEY 20 /* IPSec PF_KEY protocol */
#define AF_POLICY 21 /* IPSec PF_POLICY protocol */
#define AF_INET6 22 /* IPv6 protocol */
#define AF_MAX 23

If you need the entire thing, then I'll attach it.

live free or die
harry
Live Free or Die
Tony Hsu
New Member

Re: Value of AF_INET6

Thanks Harry.

Regards,

Tony