blob: 4e3b3a23dd88ac18318d2953bdeafc93dd3d5e1d [file] [log] [blame]
Hye-Shik Chang4e422812005-07-17 02:36:59 +00001# Generated by h2py from /usr/include/netinet/in.h
2
3# Included from sys/cdefs.h
4__GNUCLIKE_ASM = 3
5__GNUCLIKE_ASM = 2
6__GNUCLIKE___TYPEOF = 1
7__GNUCLIKE___OFFSETOF = 1
8__GNUCLIKE___SECTION = 1
9__GNUCLIKE_ATTRIBUTE_MODE_DI = 1
10__GNUCLIKE_CTOR_SECTION_HANDLING = 1
11__GNUCLIKE_BUILTIN_CONSTANT_P = 1
12__GNUCLIKE_BUILTIN_VARARGS = 1
Guido van Rossum8ce8a782007-11-01 19:42:39 +000013__GNUCLIKE_BUILTIN_STDARG = 1
Hye-Shik Chang4e422812005-07-17 02:36:59 +000014__GNUCLIKE_BUILTIN_VAALIST = 1
15__GNUC_VA_LIST_COMPATIBILITY = 1
Hye-Shik Chang4e422812005-07-17 02:36:59 +000016__GNUCLIKE_BUILTIN_NEXT_ARG = 1
17__GNUCLIKE_BUILTIN_MEMCPY = 1
18__CC_SUPPORTS_INLINE = 1
19__CC_SUPPORTS___INLINE = 1
20__CC_SUPPORTS___INLINE__ = 1
21__CC_SUPPORTS___FUNC__ = 1
22__CC_SUPPORTS_WARNING = 1
23__CC_SUPPORTS_VARADIC_XXX = 1
24__CC_SUPPORTS_DYNAMIC_ARRAY_INIT = 1
25__CC_INT_IS_32BIT = 1
Tim Petersf5f32b42005-07-17 23:16:17 +000026def __P(protos): return protos
Hye-Shik Chang4e422812005-07-17 02:36:59 +000027
Tim Petersf5f32b42005-07-17 23:16:17 +000028def __STRING(x): return #x
Hye-Shik Chang4e422812005-07-17 02:36:59 +000029
Tim Petersf5f32b42005-07-17 23:16:17 +000030def __XSTRING(x): return __STRING(x)
Hye-Shik Chang4e422812005-07-17 02:36:59 +000031
Tim Petersf5f32b42005-07-17 23:16:17 +000032def __P(protos): return ()
Hye-Shik Chang4e422812005-07-17 02:36:59 +000033
34def __STRING(x): return "x"
35
36def __aligned(x): return __attribute__((__aligned__(x)))
37
38def __section(x): return __attribute__((__section__(x)))
39
40def __aligned(x): return __attribute__((__aligned__(x)))
41
42def __section(x): return __attribute__((__section__(x)))
43
44def __nonnull(x): return __attribute__((__nonnull__(x)))
45
46def __predict_true(exp): return __builtin_expect((exp), 1)
47
48def __predict_false(exp): return __builtin_expect((exp), 0)
49
50def __predict_true(exp): return (exp)
51
52def __predict_false(exp): return (exp)
53
Guido van Rossum8ce8a782007-11-01 19:42:39 +000054def __format_arg(fmtarg): return __attribute__((__format_arg__ (fmtarg)))
55
Hye-Shik Chang4e422812005-07-17 02:36:59 +000056def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s)
57
58def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s)
59
60def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s)
61
62def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s)
63
64def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s)
65
66_POSIX_C_SOURCE = 199009
67_POSIX_C_SOURCE = 199209
68__XSI_VISIBLE = 600
69_POSIX_C_SOURCE = 200112
70__XSI_VISIBLE = 500
71_POSIX_C_SOURCE = 199506
72_POSIX_C_SOURCE = 198808
73__POSIX_VISIBLE = 200112
74__ISO_C_VISIBLE = 1999
75__POSIX_VISIBLE = 199506
76__ISO_C_VISIBLE = 1990
77__POSIX_VISIBLE = 199309
78__ISO_C_VISIBLE = 1990
79__POSIX_VISIBLE = 199209
80__ISO_C_VISIBLE = 1990
81__POSIX_VISIBLE = 199009
82__ISO_C_VISIBLE = 1990
83__POSIX_VISIBLE = 198808
84__ISO_C_VISIBLE = 0
85__POSIX_VISIBLE = 0
86__XSI_VISIBLE = 0
87__BSD_VISIBLE = 0
88__ISO_C_VISIBLE = 1990
89__POSIX_VISIBLE = 0
90__XSI_VISIBLE = 0
91__BSD_VISIBLE = 0
92__ISO_C_VISIBLE = 1999
93__POSIX_VISIBLE = 200112
94__XSI_VISIBLE = 600
95__BSD_VISIBLE = 1
96__ISO_C_VISIBLE = 1999
97
98# Included from sys/_types.h
99
100# Included from machine/_types.h
101
102# Included from machine/endian.h
103_QUAD_HIGHWORD = 1
104_QUAD_LOWWORD = 0
105_LITTLE_ENDIAN = 1234
106_BIG_ENDIAN = 4321
107_PDP_ENDIAN = 3412
108_BYTE_ORDER = _LITTLE_ENDIAN
109LITTLE_ENDIAN = _LITTLE_ENDIAN
110BIG_ENDIAN = _BIG_ENDIAN
111PDP_ENDIAN = _PDP_ENDIAN
112BYTE_ORDER = _BYTE_ORDER
113def __word_swap_int_var(x): return \
114
115def __word_swap_int_const(x): return \
116
117def __word_swap_int(x): return __word_swap_int_var(x)
118
119def __byte_swap_int_var(x): return \
120
121def __byte_swap_int_const(x): return \
122
123def __byte_swap_int(x): return __byte_swap_int_var(x)
124
125def __byte_swap_word_var(x): return \
126
127def __byte_swap_word_const(x): return \
128
129def __byte_swap_word(x): return __byte_swap_word_var(x)
130
131def __htonl(x): return __bswap32(x)
132
133def __htons(x): return __bswap16(x)
134
135def __ntohl(x): return __bswap32(x)
136
137def __ntohs(x): return __bswap16(x)
138
139IPPROTO_IP = 0
140IPPROTO_ICMP = 1
141IPPROTO_TCP = 6
142IPPROTO_UDP = 17
143def htonl(x): return __htonl(x)
144
145def htons(x): return __htons(x)
146
147def ntohl(x): return __ntohl(x)
148
149def ntohs(x): return __ntohs(x)
150
151IPPROTO_RAW = 255
152INET_ADDRSTRLEN = 16
153IPPROTO_HOPOPTS = 0
154IPPROTO_IGMP = 2
155IPPROTO_GGP = 3
156IPPROTO_IPV4 = 4
157IPPROTO_IPIP = IPPROTO_IPV4
158IPPROTO_ST = 7
159IPPROTO_EGP = 8
160IPPROTO_PIGP = 9
161IPPROTO_RCCMON = 10
162IPPROTO_NVPII = 11
163IPPROTO_PUP = 12
164IPPROTO_ARGUS = 13
165IPPROTO_EMCON = 14
166IPPROTO_XNET = 15
167IPPROTO_CHAOS = 16
168IPPROTO_MUX = 18
169IPPROTO_MEAS = 19
170IPPROTO_HMP = 20
171IPPROTO_PRM = 21
172IPPROTO_IDP = 22
173IPPROTO_TRUNK1 = 23
174IPPROTO_TRUNK2 = 24
175IPPROTO_LEAF1 = 25
176IPPROTO_LEAF2 = 26
177IPPROTO_RDP = 27
178IPPROTO_IRTP = 28
179IPPROTO_TP = 29
180IPPROTO_BLT = 30
181IPPROTO_NSP = 31
182IPPROTO_INP = 32
183IPPROTO_SEP = 33
184IPPROTO_3PC = 34
185IPPROTO_IDPR = 35
186IPPROTO_XTP = 36
187IPPROTO_DDP = 37
188IPPROTO_CMTP = 38
189IPPROTO_TPXX = 39
190IPPROTO_IL = 40
191IPPROTO_IPV6 = 41
192IPPROTO_SDRP = 42
193IPPROTO_ROUTING = 43
194IPPROTO_FRAGMENT = 44
195IPPROTO_IDRP = 45
196IPPROTO_RSVP = 46
197IPPROTO_GRE = 47
198IPPROTO_MHRP = 48
199IPPROTO_BHA = 49
200IPPROTO_ESP = 50
201IPPROTO_AH = 51
202IPPROTO_INLSP = 52
203IPPROTO_SWIPE = 53
204IPPROTO_NHRP = 54
205IPPROTO_MOBILE = 55
206IPPROTO_TLSP = 56
207IPPROTO_SKIP = 57
208IPPROTO_ICMPV6 = 58
209IPPROTO_NONE = 59
210IPPROTO_DSTOPTS = 60
211IPPROTO_AHIP = 61
212IPPROTO_CFTP = 62
213IPPROTO_HELLO = 63
214IPPROTO_SATEXPAK = 64
215IPPROTO_KRYPTOLAN = 65
216IPPROTO_RVD = 66
217IPPROTO_IPPC = 67
218IPPROTO_ADFS = 68
219IPPROTO_SATMON = 69
220IPPROTO_VISA = 70
221IPPROTO_IPCV = 71
222IPPROTO_CPNX = 72
223IPPROTO_CPHB = 73
224IPPROTO_WSN = 74
225IPPROTO_PVP = 75
226IPPROTO_BRSATMON = 76
227IPPROTO_ND = 77
228IPPROTO_WBMON = 78
229IPPROTO_WBEXPAK = 79
230IPPROTO_EON = 80
231IPPROTO_VMTP = 81
232IPPROTO_SVMTP = 82
233IPPROTO_VINES = 83
234IPPROTO_TTP = 84
235IPPROTO_IGP = 85
236IPPROTO_DGP = 86
237IPPROTO_TCF = 87
238IPPROTO_IGRP = 88
239IPPROTO_OSPFIGP = 89
240IPPROTO_SRPC = 90
241IPPROTO_LARP = 91
242IPPROTO_MTP = 92
243IPPROTO_AX25 = 93
244IPPROTO_IPEIP = 94
245IPPROTO_MICP = 95
246IPPROTO_SCCSP = 96
247IPPROTO_ETHERIP = 97
248IPPROTO_ENCAP = 98
249IPPROTO_APES = 99
250IPPROTO_GMTP = 100
251IPPROTO_IPCOMP = 108
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000252IPPROTO_SCTP = 132
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000253IPPROTO_PIM = 103
254IPPROTO_CARP = 112
255IPPROTO_PGM = 113
256IPPROTO_PFSYNC = 240
257IPPROTO_OLD_DIVERT = 254
258IPPROTO_MAX = 256
259IPPROTO_DONE = 257
260IPPROTO_DIVERT = 258
261IPPROTO_SPACER = 32767
262IPPORT_RESERVED = 1024
263IPPORT_HIFIRSTAUTO = 49152
264IPPORT_HILASTAUTO = 65535
265IPPORT_RESERVEDSTART = 600
266IPPORT_MAX = 65535
267def IN_CLASSA(i): return (((u_int32_t)(i) & (-2147483648)) == 0)
268
269IN_CLASSA_NET = (-16777216)
270IN_CLASSA_NSHIFT = 24
271IN_CLASSA_HOST = 0x00ffffff
272IN_CLASSA_MAX = 128
273def IN_CLASSB(i): return (((u_int32_t)(i) & (-1073741824)) == (-2147483648))
274
275IN_CLASSB_NET = (-65536)
276IN_CLASSB_NSHIFT = 16
277IN_CLASSB_HOST = 0x0000ffff
278IN_CLASSB_MAX = 65536
279def IN_CLASSC(i): return (((u_int32_t)(i) & (-536870912)) == (-1073741824))
280
281IN_CLASSC_NET = (-256)
282IN_CLASSC_NSHIFT = 8
283IN_CLASSC_HOST = 0x000000ff
284def IN_CLASSD(i): return (((u_int32_t)(i) & (-268435456)) == (-536870912))
285
286IN_CLASSD_NET = (-268435456)
287IN_CLASSD_NSHIFT = 28
288IN_CLASSD_HOST = 0x0fffffff
289def IN_MULTICAST(i): return IN_CLASSD(i)
290
291def IN_EXPERIMENTAL(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456))
292
293def IN_BADCLASS(i): return (((u_int32_t)(i) & (-268435456)) == (-268435456))
294
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000295def IN_LINKLOCAL(i): return (((u_int32_t)(i) & (-65536)) == (-1442971648))
296
297def IN_LOCAL_GROUP(i): return (((u_int32_t)(i) & (-256)) == (-536870912))
298
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000299INADDR_NONE = (-1)
300IN_LOOPBACKNET = 127
301IP_OPTIONS = 1
302IP_HDRINCL = 2
303IP_TOS = 3
304IP_TTL = 4
305IP_RECVOPTS = 5
306IP_RECVRETOPTS = 6
307IP_RECVDSTADDR = 7
308IP_SENDSRCADDR = IP_RECVDSTADDR
309IP_RETOPTS = 8
310IP_MULTICAST_IF = 9
311IP_MULTICAST_TTL = 10
312IP_MULTICAST_LOOP = 11
313IP_ADD_MEMBERSHIP = 12
314IP_DROP_MEMBERSHIP = 13
315IP_MULTICAST_VIF = 14
316IP_RSVP_ON = 15
317IP_RSVP_OFF = 16
318IP_RSVP_VIF_ON = 17
319IP_RSVP_VIF_OFF = 18
320IP_PORTRANGE = 19
321IP_RECVIF = 20
322IP_IPSEC_POLICY = 21
323IP_FAITH = 22
324IP_ONESBCAST = 23
325IP_FW_TABLE_ADD = 40
326IP_FW_TABLE_DEL = 41
327IP_FW_TABLE_FLUSH = 42
328IP_FW_TABLE_GETSIZE = 43
329IP_FW_TABLE_LIST = 44
330IP_FW_ADD = 50
331IP_FW_DEL = 51
332IP_FW_FLUSH = 52
333IP_FW_ZERO = 53
334IP_FW_GET = 54
335IP_FW_RESETLOG = 55
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000336IP_FW_NAT_CFG = 56
337IP_FW_NAT_DEL = 57
338IP_FW_NAT_GET_CONFIG = 58
339IP_FW_NAT_GET_LOG = 59
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000340IP_DUMMYNET_CONFIGURE = 60
341IP_DUMMYNET_DEL = 61
342IP_DUMMYNET_FLUSH = 62
343IP_DUMMYNET_GET = 64
344IP_RECVTTL = 65
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000345IP_MINTTL = 66
346IP_DONTFRAG = 67
347IP_ADD_SOURCE_MEMBERSHIP = 70
348IP_DROP_SOURCE_MEMBERSHIP = 71
349IP_BLOCK_SOURCE = 72
350IP_UNBLOCK_SOURCE = 73
351IP_MSFILTER = 74
352MCAST_JOIN_GROUP = 80
353MCAST_LEAVE_GROUP = 81
354MCAST_JOIN_SOURCE_GROUP = 82
355MCAST_LEAVE_SOURCE_GROUP = 83
356MCAST_BLOCK_SOURCE = 84
357MCAST_UNBLOCK_SOURCE = 85
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000358IP_DEFAULT_MULTICAST_TTL = 1
359IP_DEFAULT_MULTICAST_LOOP = 1
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000360IP_MIN_MEMBERSHIPS = 31
361IP_MAX_MEMBERSHIPS = 4095
362IP_MAX_SOURCE_FILTER = 1024
363MCAST_INCLUDE = 1
364MCAST_EXCLUDE = 2
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000365IP_PORTRANGE_DEFAULT = 0
366IP_PORTRANGE_HIGH = 1
367IP_PORTRANGE_LOW = 2
368IPPROTO_MAXID = (IPPROTO_AH + 1)
369IPCTL_FORWARDING = 1
370IPCTL_SENDREDIRECTS = 2
371IPCTL_DEFTTL = 3
372IPCTL_DEFMTU = 4
373IPCTL_RTEXPIRE = 5
374IPCTL_RTMINEXPIRE = 6
375IPCTL_RTMAXCACHE = 7
376IPCTL_SOURCEROUTE = 8
377IPCTL_DIRECTEDBROADCAST = 9
378IPCTL_INTRQMAXLEN = 10
379IPCTL_INTRQDROPS = 11
380IPCTL_STATS = 12
381IPCTL_ACCEPTSOURCEROUTE = 13
382IPCTL_FASTFORWARDING = 14
383IPCTL_KEEPFAITH = 15
384IPCTL_GIF_TTL = 16
385IPCTL_MAXID = 17
386def in_nullhost(x): return ((x).s_addr == INADDR_ANY)
387
388
389# Included from netinet6/in6.h
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000390__KAME_VERSION = "FreeBSD"
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000391IPV6PORT_RESERVED = 1024
392IPV6PORT_ANONMIN = 49152
393IPV6PORT_ANONMAX = 65535
394IPV6PORT_RESERVEDMIN = 600
395IPV6PORT_RESERVEDMAX = (IPV6PORT_RESERVED-1)
396INET6_ADDRSTRLEN = 46
397IPV6_ADDR_INT32_ONE = 1
398IPV6_ADDR_INT32_TWO = 2
399IPV6_ADDR_INT32_MNL = (-16711680)
400IPV6_ADDR_INT32_MLL = (-16646144)
401IPV6_ADDR_INT32_SMP = 0x0000ffff
402IPV6_ADDR_INT16_ULL = 0xfe80
403IPV6_ADDR_INT16_USL = 0xfec0
404IPV6_ADDR_INT16_MLL = 0xff02
405IPV6_ADDR_INT32_ONE = 0x01000000
406IPV6_ADDR_INT32_TWO = 0x02000000
407IPV6_ADDR_INT32_MNL = 0x000001ff
408IPV6_ADDR_INT32_MLL = 0x000002ff
409IPV6_ADDR_INT32_SMP = (-65536)
410IPV6_ADDR_INT16_ULL = 0x80fe
411IPV6_ADDR_INT16_USL = 0xc0fe
412IPV6_ADDR_INT16_MLL = 0x02ff
413def IN6_IS_ADDR_UNSPECIFIED(a): return \
414
415def IN6_IS_ADDR_LOOPBACK(a): return \
416
417def IN6_IS_ADDR_V4COMPAT(a): return \
418
419def IN6_IS_ADDR_V4MAPPED(a): return \
420
421IPV6_ADDR_SCOPE_NODELOCAL = 0x01
422IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01
423IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
424IPV6_ADDR_SCOPE_SITELOCAL = 0x05
425IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
426IPV6_ADDR_SCOPE_GLOBAL = 0x0e
427__IPV6_ADDR_SCOPE_NODELOCAL = 0x01
428__IPV6_ADDR_SCOPE_INTFACELOCAL = 0x01
429__IPV6_ADDR_SCOPE_LINKLOCAL = 0x02
430__IPV6_ADDR_SCOPE_SITELOCAL = 0x05
431__IPV6_ADDR_SCOPE_ORGLOCAL = 0x08
432__IPV6_ADDR_SCOPE_GLOBAL = 0x0e
433def IN6_IS_ADDR_LINKLOCAL(a): return \
434
435def IN6_IS_ADDR_SITELOCAL(a): return \
436
437def IN6_IS_ADDR_MC_NODELOCAL(a): return \
438
439def IN6_IS_ADDR_MC_INTFACELOCAL(a): return \
440
441def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
442
443def IN6_IS_ADDR_MC_SITELOCAL(a): return \
444
445def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
446
447def IN6_IS_ADDR_MC_GLOBAL(a): return \
448
449def IN6_IS_ADDR_MC_NODELOCAL(a): return \
450
451def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
452
453def IN6_IS_ADDR_MC_SITELOCAL(a): return \
454
455def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
456
457def IN6_IS_ADDR_MC_GLOBAL(a): return \
458
459def IN6_IS_SCOPE_LINKLOCAL(a): return \
460
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000461def IN6_IS_SCOPE_EMBED(a): return \
462
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000463def IFA6_IS_DEPRECATED(a): return \
464
465def IFA6_IS_INVALID(a): return \
466
467IPV6_OPTIONS = 1
468IPV6_RECVOPTS = 5
469IPV6_RECVRETOPTS = 6
470IPV6_RECVDSTADDR = 7
471IPV6_RETOPTS = 8
472IPV6_SOCKOPT_RESERVED1 = 3
473IPV6_UNICAST_HOPS = 4
474IPV6_MULTICAST_IF = 9
475IPV6_MULTICAST_HOPS = 10
476IPV6_MULTICAST_LOOP = 11
477IPV6_JOIN_GROUP = 12
478IPV6_LEAVE_GROUP = 13
479IPV6_PORTRANGE = 14
480ICMP6_FILTER = 18
481IPV6_2292PKTINFO = 19
482IPV6_2292HOPLIMIT = 20
483IPV6_2292NEXTHOP = 21
484IPV6_2292HOPOPTS = 22
485IPV6_2292DSTOPTS = 23
486IPV6_2292RTHDR = 24
487IPV6_2292PKTOPTIONS = 25
488IPV6_CHECKSUM = 26
489IPV6_V6ONLY = 27
490IPV6_BINDV6ONLY = IPV6_V6ONLY
491IPV6_IPSEC_POLICY = 28
492IPV6_FAITH = 29
493IPV6_FW_ADD = 30
494IPV6_FW_DEL = 31
495IPV6_FW_FLUSH = 32
496IPV6_FW_ZERO = 33
497IPV6_FW_GET = 34
498IPV6_RTHDRDSTOPTS = 35
499IPV6_RECVPKTINFO = 36
500IPV6_RECVHOPLIMIT = 37
501IPV6_RECVRTHDR = 38
502IPV6_RECVHOPOPTS = 39
503IPV6_RECVDSTOPTS = 40
504IPV6_RECVRTHDRDSTOPTS = 41
505IPV6_USE_MIN_MTU = 42
506IPV6_RECVPATHMTU = 43
507IPV6_PATHMTU = 44
508IPV6_REACHCONF = 45
509IPV6_PKTINFO = 46
510IPV6_HOPLIMIT = 47
511IPV6_NEXTHOP = 48
512IPV6_HOPOPTS = 49
513IPV6_DSTOPTS = 50
514IPV6_RTHDR = 51
515IPV6_PKTOPTIONS = 52
516IPV6_RECVTCLASS = 57
517IPV6_AUTOFLOWLABEL = 59
518IPV6_TCLASS = 61
519IPV6_DONTFRAG = 62
520IPV6_PREFER_TEMPADDR = 63
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000521IPV6_MSFILTER = 74
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000522IPV6_RTHDR_LOOSE = 0
523IPV6_RTHDR_STRICT = 1
524IPV6_RTHDR_TYPE_0 = 0
525IPV6_DEFAULT_MULTICAST_HOPS = 1
526IPV6_DEFAULT_MULTICAST_LOOP = 1
527IPV6_PORTRANGE_DEFAULT = 0
528IPV6_PORTRANGE_HIGH = 1
529IPV6_PORTRANGE_LOW = 2
530IPV6PROTO_MAXID = (IPPROTO_PIM + 1)
531IPV6CTL_FORWARDING = 1
532IPV6CTL_SENDREDIRECTS = 2
533IPV6CTL_DEFHLIM = 3
534IPV6CTL_DEFMTU = 4
535IPV6CTL_FORWSRCRT = 5
536IPV6CTL_STATS = 6
537IPV6CTL_MRTSTATS = 7
538IPV6CTL_MRTPROTO = 8
539IPV6CTL_MAXFRAGPACKETS = 9
540IPV6CTL_SOURCECHECK = 10
541IPV6CTL_SOURCECHECK_LOGINT = 11
542IPV6CTL_ACCEPT_RTADV = 12
543IPV6CTL_KEEPFAITH = 13
544IPV6CTL_LOG_INTERVAL = 14
545IPV6CTL_HDRNESTLIMIT = 15
546IPV6CTL_DAD_COUNT = 16
547IPV6CTL_AUTO_FLOWLABEL = 17
548IPV6CTL_DEFMCASTHLIM = 18
549IPV6CTL_GIF_HLIM = 19
550IPV6CTL_KAME_VERSION = 20
551IPV6CTL_USE_DEPRECATED = 21
552IPV6CTL_RR_PRUNE = 22
553IPV6CTL_MAPPED_ADDR = 23
554IPV6CTL_V6ONLY = 24
555IPV6CTL_RTEXPIRE = 25
556IPV6CTL_RTMINEXPIRE = 26
557IPV6CTL_RTMAXCACHE = 27
558IPV6CTL_USETEMPADDR = 32
559IPV6CTL_TEMPPLTIME = 33
560IPV6CTL_TEMPVLTIME = 34
561IPV6CTL_AUTO_LINKLOCAL = 35
562IPV6CTL_RIP6STATS = 36
563IPV6CTL_PREFER_TEMPADDR = 37
564IPV6CTL_ADDRCTLPOLICY = 38
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000565IPV6CTL_USE_DEFAULTZONE = 39
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000566IPV6CTL_MAXFRAGS = 41
Guido van Rossum8ce8a782007-11-01 19:42:39 +0000567IPV6CTL_IFQ = 42
568IPV6CTL_ISATAPRTR = 43
569IPV6CTL_MCAST_PMTU = 44
570IPV6CTL_STEALTH = 45
571IPV6CTL_MAXID = 46