blob: 6b6be33a5ad2f131b921ca6d6da03840922c71fb [file] [log] [blame]
Ronald Oussoren03cfa732009-03-04 23:21:07 +00001# Generated by h2py from /usr/include/netinet/in.h
2
3# Included from sys/appleapiopts.h
4
5# Included from sys/_types.h
6
7# Included from sys/cdefs.h
8def __P(protos): return protos
9
10def __STRING(x): return #x
11
12def __P(protos): return ()
13
14def __STRING(x): return "x"
15
16def __attribute__(x): return
17
18def __COPYRIGHT(s): return __IDSTRING(copyright,s)
19
20def __RCSID(s): return __IDSTRING(rcsid,s)
21
22def __SCCSID(s): return __IDSTRING(sccsid,s)
23
24def __PROJECT_VERSION(s): return __IDSTRING(project_version,s)
25
26__DARWIN_UNIX03 = 1
27__DARWIN_UNIX03 = 0
28__DARWIN_UNIX03 = 0
29__DARWIN_UNIX03 = 1
30__DARWIN_64_BIT_INO_T = 1
31__DARWIN_64_BIT_INO_T = 0
32__DARWIN_64_BIT_INO_T = 0
33__DARWIN_NON_CANCELABLE = 0
34__DARWIN_VERS_1050 = 1
35__DARWIN_VERS_1050 = 0
36__DARWIN_SUF_UNIX03 = "$UNIX2003"
37__DARWIN_SUF_UNIX03_SET = 1
38__DARWIN_SUF_UNIX03_SET = 0
39__DARWIN_SUF_64_BIT_INO_T = "$INODE64"
40__DARWIN_SUF_NON_CANCELABLE = "$NOCANCEL"
41__DARWIN_SUF_1050 = "$1050"
42__DARWIN_SUF_UNIX03_SET = 0
43__DARWIN_SUF_EXTSN = "$DARWIN_EXTSN"
44__DARWIN_LONG_DOUBLE_IS_DOUBLE = 0
45def __DARWIN_LDBL_COMPAT(x): return
46
47def __DARWIN_LDBL_COMPAT2(x): return
48
49__DARWIN_LONG_DOUBLE_IS_DOUBLE = 1
50def __DARWIN_LDBL_COMPAT(x): return
51
52def __DARWIN_LDBL_COMPAT2(x): return
53
54__DARWIN_LONG_DOUBLE_IS_DOUBLE = 0
55_DARWIN_FEATURE_LONG_DOUBLE_IS_DOUBLE = 1
56_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
57_DARWIN_FEATURE_64_BIT_INODE = 1
58
59# Included from machine/_types.h
60__PTHREAD_SIZE__ = 1168
61__PTHREAD_ATTR_SIZE__ = 56
62__PTHREAD_MUTEXATTR_SIZE__ = 8
63__PTHREAD_MUTEX_SIZE__ = 56
64__PTHREAD_CONDATTR_SIZE__ = 8
65__PTHREAD_COND_SIZE__ = 40
66__PTHREAD_ONCE_SIZE__ = 8
67__PTHREAD_RWLOCK_SIZE__ = 192
68__PTHREAD_RWLOCKATTR_SIZE__ = 16
69__PTHREAD_SIZE__ = 596
70__PTHREAD_ATTR_SIZE__ = 36
71__PTHREAD_MUTEXATTR_SIZE__ = 8
72__PTHREAD_MUTEX_SIZE__ = 40
73__PTHREAD_CONDATTR_SIZE__ = 4
74__PTHREAD_COND_SIZE__ = 24
75__PTHREAD_ONCE_SIZE__ = 4
76__PTHREAD_RWLOCK_SIZE__ = 124
77__PTHREAD_RWLOCKATTR_SIZE__ = 12
78__DARWIN_NULL = 0
79
80# Included from stdint.h
81__WORDSIZE = 64
82__WORDSIZE = 32
83INT8_MAX = 127
84INT16_MAX = 32767
85INT32_MAX = 2147483647
86INT8_MIN = -128
87INT16_MIN = -32768
88INT32_MIN = (-INT32_MAX-1)
89UINT8_MAX = 255
90UINT16_MAX = 65535
91INT_LEAST8_MIN = INT8_MIN
92INT_LEAST16_MIN = INT16_MIN
93INT_LEAST32_MIN = INT32_MIN
94INT_LEAST8_MAX = INT8_MAX
95INT_LEAST16_MAX = INT16_MAX
96INT_LEAST32_MAX = INT32_MAX
97UINT_LEAST8_MAX = UINT8_MAX
98UINT_LEAST16_MAX = UINT16_MAX
99INT_FAST8_MIN = INT8_MIN
100INT_FAST16_MIN = INT16_MIN
101INT_FAST32_MIN = INT32_MIN
102INT_FAST8_MAX = INT8_MAX
103INT_FAST16_MAX = INT16_MAX
104INT_FAST32_MAX = INT32_MAX
105UINT_FAST8_MAX = UINT8_MAX
106UINT_FAST16_MAX = UINT16_MAX
107INTPTR_MIN = INT32_MIN
108INTPTR_MAX = INT32_MAX
109PTRDIFF_MIN = INT32_MIN
110PTRDIFF_MAX = INT32_MAX
111WCHAR_MAX = 0x7fffffff
112WCHAR_MIN = 0
113WCHAR_MIN = (-WCHAR_MAX-1)
114WINT_MIN = INT32_MIN
115WINT_MAX = INT32_MAX
116SIG_ATOMIC_MIN = INT32_MIN
117SIG_ATOMIC_MAX = INT32_MAX
118def INT8_C(v): return (v)
119
120def INT16_C(v): return (v)
121
122def INT32_C(v): return (v)
123
124
125# Included from sys/socket.h
126
127# Included from machine/_param.h
128SOCK_STREAM = 1
129SOCK_DGRAM = 2
130SOCK_RAW = 3
131SOCK_RDM = 4
132SOCK_SEQPACKET = 5
133SO_DEBUG = 0x0001
134SO_ACCEPTCONN = 0x0002
135SO_REUSEADDR = 0x0004
136SO_KEEPALIVE = 0x0008
137SO_DONTROUTE = 0x0010
138SO_BROADCAST = 0x0020
139SO_USELOOPBACK = 0x0040
140SO_LINGER = 0x0080
141SO_LINGER = 0x1080
142SO_OOBINLINE = 0x0100
143SO_REUSEPORT = 0x0200
144SO_TIMESTAMP = 0x0400
145SO_ACCEPTFILTER = 0x1000
146SO_DONTTRUNC = 0x2000
147SO_WANTMORE = 0x4000
148SO_WANTOOBFLAG = 0x8000
149SO_SNDBUF = 0x1001
150SO_RCVBUF = 0x1002
151SO_SNDLOWAT = 0x1003
152SO_RCVLOWAT = 0x1004
153SO_SNDTIMEO = 0x1005
154SO_RCVTIMEO = 0x1006
155SO_ERROR = 0x1007
156SO_TYPE = 0x1008
157SO_NREAD = 0x1020
158SO_NKE = 0x1021
159SO_NOSIGPIPE = 0x1022
160SO_NOADDRERR = 0x1023
161SO_NWRITE = 0x1024
162SO_REUSESHAREUID = 0x1025
163SO_NOTIFYCONFLICT = 0x1026
164SO_LINGER_SEC = 0x1080
165SO_RESTRICTIONS = 0x1081
166SO_RESTRICT_DENYIN = 0x00000001
167SO_RESTRICT_DENYOUT = 0x00000002
168SO_RESTRICT_DENYSET = (-2147483648)
169SO_LABEL = 0x1010
170SO_PEERLABEL = 0x1011
171SOL_SOCKET = 0xffff
172AF_UNSPEC = 0
173AF_UNIX = 1
174AF_LOCAL = AF_UNIX
175AF_INET = 2
176AF_IMPLINK = 3
177AF_PUP = 4
178AF_CHAOS = 5
179AF_NS = 6
180AF_ISO = 7
181AF_OSI = AF_ISO
182AF_ECMA = 8
183AF_DATAKIT = 9
184AF_CCITT = 10
185AF_SNA = 11
186AF_DECnet = 12
187AF_DLI = 13
188AF_LAT = 14
189AF_HYLINK = 15
190AF_APPLETALK = 16
191AF_ROUTE = 17
192AF_LINK = 18
193pseudo_AF_XTP = 19
194AF_COIP = 20
195AF_CNT = 21
196pseudo_AF_RTIP = 22
197AF_IPX = 23
198AF_SIP = 24
199pseudo_AF_PIP = 25
200AF_NDRV = 27
201AF_ISDN = 28
202AF_E164 = AF_ISDN
203pseudo_AF_KEY = 29
204AF_INET6 = 30
205AF_NATM = 31
206AF_SYSTEM = 32
207AF_NETBIOS = 33
208AF_PPP = 34
209AF_ATM = 30
210pseudo_AF_HDRCMPLT = 35
211AF_RESERVED_36 = 36
212AF_NETGRAPH = 32
213AF_MAX = 37
214SOCK_MAXADDRLEN = 255
215_SS_MAXSIZE = 128
216PF_UNSPEC = AF_UNSPEC
217PF_LOCAL = AF_LOCAL
218PF_UNIX = PF_LOCAL
219PF_INET = AF_INET
220PF_IMPLINK = AF_IMPLINK
221PF_PUP = AF_PUP
222PF_CHAOS = AF_CHAOS
223PF_NS = AF_NS
224PF_ISO = AF_ISO
225PF_OSI = AF_ISO
226PF_ECMA = AF_ECMA
227PF_DATAKIT = AF_DATAKIT
228PF_CCITT = AF_CCITT
229PF_SNA = AF_SNA
230PF_DECnet = AF_DECnet
231PF_DLI = AF_DLI
232PF_LAT = AF_LAT
233PF_HYLINK = AF_HYLINK
234PF_APPLETALK = AF_APPLETALK
235PF_ROUTE = AF_ROUTE
236PF_LINK = AF_LINK
237PF_XTP = pseudo_AF_XTP
238PF_COIP = AF_COIP
239PF_CNT = AF_CNT
240PF_SIP = AF_SIP
241PF_IPX = AF_IPX
242PF_RTIP = pseudo_AF_RTIP
243PF_PIP = pseudo_AF_PIP
244PF_NDRV = AF_NDRV
245PF_ISDN = AF_ISDN
246PF_KEY = pseudo_AF_KEY
247PF_INET6 = AF_INET6
248PF_NATM = AF_NATM
249PF_SYSTEM = AF_SYSTEM
250PF_NETBIOS = AF_NETBIOS
251PF_PPP = AF_PPP
252PF_RESERVED_36 = AF_RESERVED_36
253PF_ATM = AF_ATM
254PF_NETGRAPH = AF_NETGRAPH
255PF_MAX = AF_MAX
256NET_MAXID = AF_MAX
257NET_RT_DUMP = 1
258NET_RT_FLAGS = 2
259NET_RT_IFLIST = 3
260NET_RT_STAT = 4
261NET_RT_TRASH = 5
262NET_RT_IFLIST2 = 6
263NET_RT_DUMP2 = 7
264NET_RT_MAXID = 8
265SOMAXCONN = 128
266MSG_OOB = 0x1
267MSG_PEEK = 0x2
268MSG_DONTROUTE = 0x4
269MSG_EOR = 0x8
270MSG_TRUNC = 0x10
271MSG_CTRUNC = 0x20
272MSG_WAITALL = 0x40
273MSG_DONTWAIT = 0x80
274MSG_EOF = 0x100
275MSG_WAITSTREAM = 0x200
276MSG_FLUSH = 0x400
277MSG_HOLD = 0x800
278MSG_SEND = 0x1000
279MSG_HAVEMORE = 0x2000
280MSG_RCVMORE = 0x4000
281MSG_NEEDSA = 0x10000
282CMGROUP_MAX = 16
283SCM_RIGHTS = 0x01
284SCM_TIMESTAMP = 0x02
285SCM_CREDS = 0x03
286SHUT_RD = 0
287SHUT_WR = 1
288SHUT_RDWR = 2
289
290# Included from machine/endian.h
291
292# Included from sys/_endian.h
293def ntohl(x): return (x)
294
295def ntohs(x): return (x)
296
297def htonl(x): return (x)
298
299def htons(x): return (x)
300
301def NTOHL(x): return (x)
302
303def NTOHS(x): return (x)
304
305def HTONL(x): return (x)
306
307def HTONS(x): return (x)
308
309
310# Included from libkern/_OSByteOrder.h
311def __DARWIN_OSSwapConstInt16(x): return \
312
313def __DARWIN_OSSwapConstInt32(x): return \
314
315def __DARWIN_OSSwapConstInt64(x): return \
316
317
318# Included from libkern/i386/_OSByteOrder.h
319def __DARWIN_OSSwapInt16(x): return \
320
321def __DARWIN_OSSwapInt32(x): return \
322
323def __DARWIN_OSSwapInt64(x): return \
324
325def __DARWIN_OSSwapInt16(x): return _OSSwapInt16(x)
326
327def __DARWIN_OSSwapInt32(x): return _OSSwapInt32(x)
328
329def __DARWIN_OSSwapInt64(x): return _OSSwapInt64(x)
330
331def ntohs(x): return __DARWIN_OSSwapInt16(x)
332
333def htons(x): return __DARWIN_OSSwapInt16(x)
334
335def ntohl(x): return __DARWIN_OSSwapInt32(x)
336
337def htonl(x): return __DARWIN_OSSwapInt32(x)
338
339IPPROTO_IP = 0
340IPPROTO_HOPOPTS = 0
341IPPROTO_ICMP = 1
342IPPROTO_IGMP = 2
343IPPROTO_GGP = 3
344IPPROTO_IPV4 = 4
345IPPROTO_IPIP = IPPROTO_IPV4
346IPPROTO_TCP = 6
347IPPROTO_ST = 7
348IPPROTO_EGP = 8
349IPPROTO_PIGP = 9
350IPPROTO_RCCMON = 10
351IPPROTO_NVPII = 11
352IPPROTO_PUP = 12
353IPPROTO_ARGUS = 13
354IPPROTO_EMCON = 14
355IPPROTO_XNET = 15
356IPPROTO_CHAOS = 16
357IPPROTO_UDP = 17
358IPPROTO_MUX = 18
359IPPROTO_MEAS = 19
360IPPROTO_HMP = 20
361IPPROTO_PRM = 21
362IPPROTO_IDP = 22
363IPPROTO_TRUNK1 = 23
364IPPROTO_TRUNK2 = 24
365IPPROTO_LEAF1 = 25
366IPPROTO_LEAF2 = 26
367IPPROTO_RDP = 27
368IPPROTO_IRTP = 28
369IPPROTO_TP = 29
370IPPROTO_BLT = 30
371IPPROTO_NSP = 31
372IPPROTO_INP = 32
373IPPROTO_SEP = 33
374IPPROTO_3PC = 34
375IPPROTO_IDPR = 35
376IPPROTO_XTP = 36
377IPPROTO_DDP = 37
378IPPROTO_CMTP = 38
379IPPROTO_TPXX = 39
380IPPROTO_IL = 40
381IPPROTO_IPV6 = 41
382IPPROTO_SDRP = 42
383IPPROTO_ROUTING = 43
384IPPROTO_FRAGMENT = 44
385IPPROTO_IDRP = 45
386IPPROTO_RSVP = 46
387IPPROTO_GRE = 47
388IPPROTO_MHRP = 48
389IPPROTO_BHA = 49
390IPPROTO_ESP = 50
391IPPROTO_AH = 51
392IPPROTO_INLSP = 52
393IPPROTO_SWIPE = 53
394IPPROTO_NHRP = 54
395IPPROTO_ICMPV6 = 58
396IPPROTO_NONE = 59
397IPPROTO_DSTOPTS = 60
398IPPROTO_AHIP = 61
399IPPROTO_CFTP = 62
400IPPROTO_HELLO = 63
401IPPROTO_SATEXPAK = 64
402IPPROTO_KRYPTOLAN = 65
403IPPROTO_RVD = 66
404IPPROTO_IPPC = 67
405IPPROTO_ADFS = 68
406IPPROTO_SATMON = 69
407IPPROTO_VISA = 70
408IPPROTO_IPCV = 71
409IPPROTO_CPNX = 72
410IPPROTO_CPHB = 73
411IPPROTO_WSN = 74
412IPPROTO_PVP = 75
413IPPROTO_BRSATMON = 76
414IPPROTO_ND = 77
415IPPROTO_WBMON = 78
416IPPROTO_WBEXPAK = 79
417IPPROTO_EON = 80
418IPPROTO_VMTP = 81
419IPPROTO_SVMTP = 82
420IPPROTO_VINES = 83
421IPPROTO_TTP = 84
422IPPROTO_IGP = 85
423IPPROTO_DGP = 86
424IPPROTO_TCF = 87
425IPPROTO_IGRP = 88
426IPPROTO_OSPFIGP = 89
427IPPROTO_SRPC = 90
428IPPROTO_LARP = 91
429IPPROTO_MTP = 92
430IPPROTO_AX25 = 93
431IPPROTO_IPEIP = 94
432IPPROTO_MICP = 95
433IPPROTO_SCCSP = 96
434IPPROTO_ETHERIP = 97
435IPPROTO_ENCAP = 98
436IPPROTO_APES = 99
437IPPROTO_GMTP = 100
438IPPROTO_IPCOMP = 108
439IPPROTO_PIM = 103
440IPPROTO_PGM = 113
441IPPROTO_DIVERT = 254
442IPPROTO_RAW = 255
443IPPROTO_MAX = 256
444IPPROTO_DONE = 257
445__DARWIN_IPPORT_RESERVED = 1024
446IPPORT_RESERVED = __DARWIN_IPPORT_RESERVED
447IPPORT_USERRESERVED = 5000
448IPPORT_HIFIRSTAUTO = 49152
449IPPORT_HILASTAUTO = 65535
450IPPORT_RESERVEDSTART = 600
451def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0)
452
453IN_CLASSA_NET = (-16777216)
454IN_CLASSA_NSHIFT = 24
455IN_CLASSA_HOST = 0x00ffffff
456IN_CLASSA_MAX = 128
457def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648))
458
459IN_CLASSB_NET = (-65536)
460IN_CLASSB_NSHIFT = 16
461IN_CLASSB_HOST = 0x0000ffff
462IN_CLASSB_MAX = 65536
463def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824))
464
465IN_CLASSC_NET = (-256)
466IN_CLASSC_NSHIFT = 8
467IN_CLASSC_HOST = 0x000000ff
468def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912))
469
470IN_CLASSD_NET = (-268435456)
471IN_CLASSD_NSHIFT = 28
472IN_CLASSD_HOST = 0x0fffffff
473def IN_MULTICAST(i): return IN_CLASSD(i)
474
475def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456))
476
477def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456))
478
479INADDR_NONE = (-1)
480def IN_LINKLOCAL(i): return (((u_int32_t)(i) & IN_CLASSB_NET) == IN_LINKLOCALNETNUM)
481
482IN_LOOPBACKNET = 127
483INET_ADDRSTRLEN = 16
484IP_OPTIONS = 1
485IP_HDRINCL = 2
486IP_TOS = 3
487IP_TTL = 4
488IP_RECVOPTS = 5
489IP_RECVRETOPTS = 6
490IP_RECVDSTADDR = 7
491IP_RETOPTS = 8
492IP_MULTICAST_IF = 9
493IP_MULTICAST_TTL = 10
494IP_MULTICAST_LOOP = 11
495IP_ADD_MEMBERSHIP = 12
496IP_DROP_MEMBERSHIP = 13
497IP_MULTICAST_VIF = 14
498IP_RSVP_ON = 15
499IP_RSVP_OFF = 16
500IP_RSVP_VIF_ON = 17
501IP_RSVP_VIF_OFF = 18
502IP_PORTRANGE = 19
503IP_RECVIF = 20
504IP_IPSEC_POLICY = 21
505IP_FAITH = 22
506IP_STRIPHDR = 23
507IP_RECVTTL = 24
508IP_FW_ADD = 40
509IP_FW_DEL = 41
510IP_FW_FLUSH = 42
511IP_FW_ZERO = 43
512IP_FW_GET = 44
513IP_FW_RESETLOG = 45
514IP_OLD_FW_ADD = 50
515IP_OLD_FW_DEL = 51
516IP_OLD_FW_FLUSH = 52
517IP_OLD_FW_ZERO = 53
518IP_OLD_FW_GET = 54
519IP_NAT__XXX = 55
520IP_OLD_FW_RESETLOG = 56
521IP_DUMMYNET_CONFIGURE = 60
522IP_DUMMYNET_DEL = 61
523IP_DUMMYNET_FLUSH = 62
524IP_DUMMYNET_GET = 64
525IP_TRAFFIC_MGT_BACKGROUND = 65
526IP_FORCE_OUT_IFP = 69
527TRAFFIC_MGT_SO_BACKGROUND = 0x0001
528TRAFFIC_MGT_SO_BG_SUPPRESSED = 0x0002
529IP_DEFAULT_MULTICAST_TTL = 1
530IP_DEFAULT_MULTICAST_LOOP = 1
531IP_MAX_MEMBERSHIPS = 20
532IP_PORTRANGE_DEFAULT = 0
533IP_PORTRANGE_HIGH = 1
534IP_PORTRANGE_LOW = 2
535IPPROTO_MAXID = (IPPROTO_AH + 1)
536IPCTL_FORWARDING = 1
537IPCTL_SENDREDIRECTS = 2
538IPCTL_DEFTTL = 3
539IPCTL_DEFMTU = 4
540IPCTL_RTEXPIRE = 5
541IPCTL_RTMINEXPIRE = 6
542IPCTL_RTMAXCACHE = 7
543IPCTL_SOURCEROUTE = 8
544IPCTL_DIRECTEDBROADCAST = 9
545IPCTL_INTRQMAXLEN = 10
546IPCTL_INTRQDROPS = 11
547IPCTL_STATS = 12
548IPCTL_ACCEPTSOURCEROUTE = 13
549IPCTL_FASTFORWARDING = 14
550IPCTL_KEEPFAITH = 15
551IPCTL_GIF_TTL = 16
552IPCTL_MAXID = 17
553
554# Included from netinet6/in6.h
555__KAME_VERSION = "20010528/apple-darwin"
556IPV6PORT_RESERVED = 1024
557IPV6PORT_ANONMIN = 49152
558IPV6PORT_ANONMAX = 65535
559IPV6PORT_RESERVEDMIN = 600
560IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
561INET6_ADDRSTRLEN = 46
562def IN6_IS_ADDR_UNSPECIFIED(a): return \
563
564def IN6_IS_ADDR_LOOPBACK(a): return \
565
566def IN6_IS_ADDR_V4COMPAT(a): return \
567
568def IN6_IS_ADDR_V4MAPPED(a): return \
569
570__IPV6_ADDR_SCOPE_NODELOCAL = 0x01
571__IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
572__IPV6_ADDR_SCOPE_SITELOCAL = 0x05
573__IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
574__IPV6_ADDR_SCOPE_GLOBAL = 0x0e
575def IN6_IS_ADDR_LINKLOCAL(a): return \
576
577def IN6_IS_ADDR_SITELOCAL(a): return \
578
579def IN6_IS_ADDR_MC_NODELOCAL(a): return \
580
581def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
582
583def IN6_IS_ADDR_MC_SITELOCAL(a): return \
584
585def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
586
587def IN6_IS_ADDR_MC_GLOBAL(a): return \
588
589IPV6_OPTIONS = 1
590IPV6_RECVOPTS = 5
591IPV6_RECVRETOPTS = 6
592IPV6_RECVDSTADDR = 7
593IPV6_RETOPTS = 8
594IPV6_SOCKOPT_RESERVED1 = 3
595IPV6_UNICAST_HOPS = 4
596IPV6_MULTICAST_IF = 9
597IPV6_MULTICAST_HOPS = 10
598IPV6_MULTICAST_LOOP = 11
599IPV6_JOIN_GROUP = 12
600IPV6_LEAVE_GROUP = 13
601IPV6_PORTRANGE = 14
602ICMP6_FILTER = 18
603IPV6_PKTINFO = 19
604IPV6_HOPLIMIT = 20
605IPV6_NEXTHOP = 21
606IPV6_HOPOPTS = 22
607IPV6_DSTOPTS = 23
608IPV6_RTHDR = 24
609IPV6_PKTOPTIONS = 25
610IPV6_CHECKSUM = 26
611IPV6_V6ONLY = 27
612IPV6_BINDV6ONLY = IPV6_V6ONLY
613IPV6_IPSEC_POLICY = 28
614IPV6_FAITH = 29
615IPV6_FW_ADD = 30
616IPV6_FW_DEL = 31
617IPV6_FW_FLUSH = 32
618IPV6_FW_ZERO = 33
619IPV6_FW_GET = 34
620IPV6_RTHDR_LOOSE = 0
621IPV6_RTHDR_STRICT = 1
622IPV6_RTHDR_TYPE_0 = 0
623IPV6_DEFAULT_MULTICAST_HOPS = 1
624IPV6_DEFAULT_MULTICAST_LOOP = 1
625IPV6_PORTRANGE_DEFAULT = 0
626IPV6_PORTRANGE_HIGH = 1
627IPV6_PORTRANGE_LOW = 2
628IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
629IPV6CTL_FORWARDING = 1
630IPV6CTL_SENDREDIRECTS = 2
631IPV6CTL_DEFHLIM = 3
632IPV6CTL_DEFMTU = 4
633IPV6CTL_FORWSRCRT = 5
634IPV6CTL_STATS = 6
635IPV6CTL_MRTSTATS = 7
636IPV6CTL_MRTPROTO = 8
637IPV6CTL_MAXFRAGPACKETS = 9
638IPV6CTL_SOURCECHECK = 10
639IPV6CTL_SOURCECHECK_LOGINT = 11
640IPV6CTL_ACCEPT_RTADV = 12
641IPV6CTL_KEEPFAITH = 13
642IPV6CTL_LOG_INTERVAL = 14
643IPV6CTL_HDRNESTLIMIT = 15
644IPV6CTL_DAD_COUNT = 16
645IPV6CTL_AUTO_FLOWLABEL = 17
646IPV6CTL_DEFMCASTHLIM = 18
647IPV6CTL_GIF_HLIM = 19
648IPV6CTL_KAME_VERSION = 20
649IPV6CTL_USE_DEPRECATED = 21
650IPV6CTL_RR_PRUNE = 22
651IPV6CTL_MAPPED_ADDR = 23
652IPV6CTL_V6ONLY = 24
653IPV6CTL_RTEXPIRE = 25
654IPV6CTL_RTMINEXPIRE = 26
655IPV6CTL_RTMAXCACHE = 27
656IPV6CTL_USETEMPADDR = 32
657IPV6CTL_TEMPPLTIME = 33
658IPV6CTL_TEMPVLTIME = 34
659IPV6CTL_AUTO_LINKLOCAL = 35
660IPV6CTL_RIP6STATS = 36
661IPV6CTL_MAXFRAGS = 41
662IPV6CTL_MAXID = 42