Home | History | Annotate | Download | only in plat-linux2
      1 # Generated by h2py from /usr/include/netinet/in.h
      2 _NETINET_IN_H = 1
      3 
      4 # Included from features.h
      5 _FEATURES_H = 1
      6 __USE_ANSI = 1
      7 __FAVOR_BSD = 1
      8 _ISOC99_SOURCE = 1
      9 _POSIX_SOURCE = 1
     10 _POSIX_C_SOURCE = 199506L
     11 _XOPEN_SOURCE = 600
     12 _XOPEN_SOURCE_EXTENDED = 1
     13 _LARGEFILE64_SOURCE = 1
     14 _BSD_SOURCE = 1
     15 _SVID_SOURCE = 1
     16 _BSD_SOURCE = 1
     17 _SVID_SOURCE = 1
     18 __USE_ISOC99 = 1
     19 _POSIX_SOURCE = 1
     20 _POSIX_C_SOURCE = 2
     21 _POSIX_C_SOURCE = 199506L
     22 __USE_POSIX = 1
     23 __USE_POSIX2 = 1
     24 __USE_POSIX199309 = 1
     25 __USE_POSIX199506 = 1
     26 __USE_XOPEN = 1
     27 __USE_XOPEN_EXTENDED = 1
     28 __USE_UNIX98 = 1
     29 _LARGEFILE_SOURCE = 1
     30 __USE_XOPEN2K = 1
     31 __USE_ISOC99 = 1
     32 __USE_XOPEN_EXTENDED = 1
     33 __USE_LARGEFILE = 1
     34 __USE_LARGEFILE64 = 1
     35 __USE_FILE_OFFSET64 = 1
     36 __USE_MISC = 1
     37 __USE_BSD = 1
     38 __USE_SVID = 1
     39 __USE_GNU = 1
     40 __USE_REENTRANT = 1
     41 __STDC_IEC_559__ = 1
     42 __STDC_IEC_559_COMPLEX__ = 1
     43 __STDC_ISO_10646__ = 200009L
     44 __GNU_LIBRARY__ = 6
     45 __GLIBC__ = 2
     46 __GLIBC_MINOR__ = 2
     47 
     48 # Included from sys/cdefs.h
     49 _SYS_CDEFS_H = 1
     50 def __PMT(args): return args
     51 
     52 def __P(args): return args
     53 
     54 def __PMT(args): return args
     55 
     56 def __STRING(x): return #x
     57 
     58 __flexarr = []
     59 __flexarr = [0]
     60 __flexarr = []
     61 __flexarr = [1]
     62 def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
     63 
     64 def __attribute__(xyz): return
     65 
     66 def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
     67 
     68 def __attribute_format_arg__(x): return
     69 
     70 __USE_LARGEFILE = 1
     71 __USE_LARGEFILE64 = 1
     72 __USE_EXTERN_INLINES = 1
     73 
     74 # Included from gnu/stubs.h
     75 
     76 # Included from stdint.h
     77 _STDINT_H = 1
     78 
     79 # Included from bits/wchar.h
     80 _BITS_WCHAR_H = 1
     81 __WCHAR_MIN = (-2147483647l - 1l)
     82 __WCHAR_MAX = (2147483647l)
     83 
     84 # Included from bits/wordsize.h
     85 __WORDSIZE = 32
     86 def __INT64_C(c): return c ## L
     87 
     88 def __UINT64_C(c): return c ## UL
     89 
     90 def __INT64_C(c): return c ## LL
     91 
     92 def __UINT64_C(c): return c ## ULL
     93 
     94 INT8_MIN = (-128)
     95 INT16_MIN = (-32767-1)
     96 INT32_MIN = (-2147483647-1)
     97 INT64_MIN = (-__INT64_C(9223372036854775807)-1)
     98 INT8_MAX = (127)
     99 INT16_MAX = (32767)
    100 INT32_MAX = (2147483647)
    101 INT64_MAX = (__INT64_C(9223372036854775807))
    102 UINT8_MAX = (255)
    103 UINT16_MAX = (65535)
    104 UINT64_MAX = (__UINT64_C(18446744073709551615))
    105 INT_LEAST8_MIN = (-128)
    106 INT_LEAST16_MIN = (-32767-1)
    107 INT_LEAST32_MIN = (-2147483647-1)
    108 INT_LEAST64_MIN = (-__INT64_C(9223372036854775807)-1)
    109 INT_LEAST8_MAX = (127)
    110 INT_LEAST16_MAX = (32767)
    111 INT_LEAST32_MAX = (2147483647)
    112 INT_LEAST64_MAX = (__INT64_C(9223372036854775807))
    113 UINT_LEAST8_MAX = (255)
    114 UINT_LEAST16_MAX = (65535)
    115 UINT_LEAST64_MAX = (__UINT64_C(18446744073709551615))
    116 INT_FAST8_MIN = (-128)
    117 INT_FAST16_MIN = (-9223372036854775807L-1)
    118 INT_FAST32_MIN = (-9223372036854775807L-1)
    119 INT_FAST16_MIN = (-2147483647-1)
    120 INT_FAST32_MIN = (-2147483647-1)
    121 INT_FAST64_MIN = (-__INT64_C(9223372036854775807)-1)
    122 INT_FAST8_MAX = (127)
    123 INT_FAST16_MAX = (9223372036854775807L)
    124 INT_FAST32_MAX = (9223372036854775807L)
    125 INT_FAST16_MAX = (2147483647)
    126 INT_FAST32_MAX = (2147483647)
    127 INT_FAST64_MAX = (__INT64_C(9223372036854775807))
    128 UINT_FAST8_MAX = (255)
    129 UINT_FAST64_MAX = (__UINT64_C(18446744073709551615))
    130 INTPTR_MIN = (-9223372036854775807L-1)
    131 INTPTR_MAX = (9223372036854775807L)
    132 INTPTR_MIN = (-2147483647-1)
    133 INTPTR_MAX = (2147483647)
    134 INTMAX_MIN = (-__INT64_C(9223372036854775807)-1)
    135 INTMAX_MAX = (__INT64_C(9223372036854775807))
    136 UINTMAX_MAX = (__UINT64_C(18446744073709551615))
    137 PTRDIFF_MIN = (-9223372036854775807L-1)
    138 PTRDIFF_MAX = (9223372036854775807L)
    139 PTRDIFF_MIN = (-2147483647-1)
    140 PTRDIFF_MAX = (2147483647)
    141 SIG_ATOMIC_MIN = (-2147483647-1)
    142 SIG_ATOMIC_MAX = (2147483647)
    143 WCHAR_MIN = __WCHAR_MIN
    144 WCHAR_MAX = __WCHAR_MAX
    145 def INT8_C(c): return c
    146 
    147 def INT16_C(c): return c
    148 
    149 def INT32_C(c): return c
    150 
    151 def INT64_C(c): return c ## L
    152 
    153 def INT64_C(c): return c ## LL
    154 
    155 def UINT8_C(c): return c ## U
    156 
    157 def UINT16_C(c): return c ## U
    158 
    159 def UINT32_C(c): return c ## U
    160 
    161 def UINT64_C(c): return c ## UL
    162 
    163 def UINT64_C(c): return c ## ULL
    164 
    165 def INTMAX_C(c): return c ## L
    166 
    167 def UINTMAX_C(c): return c ## UL
    168 
    169 def INTMAX_C(c): return c ## LL
    170 
    171 def UINTMAX_C(c): return c ## ULL
    172 
    173 
    174 # Included from bits/types.h
    175 _BITS_TYPES_H = 1
    176 __FD_SETSIZE = 1024
    177 
    178 # Included from bits/pthreadtypes.h
    179 _BITS_PTHREADTYPES_H = 1
    180 
    181 # Included from bits/sched.h
    182 SCHED_OTHER = 0
    183 SCHED_FIFO = 1
    184 SCHED_RR = 2
    185 CSIGNAL = 0x000000ff
    186 CLONE_VM = 0x00000100
    187 CLONE_FS = 0x00000200
    188 CLONE_FILES = 0x00000400
    189 CLONE_SIGHAND = 0x00000800
    190 CLONE_PID = 0x00001000
    191 CLONE_PTRACE = 0x00002000
    192 CLONE_VFORK = 0x00004000
    193 __defined_schedparam = 1
    194 def IN_CLASSA(a): return ((((in_addr_t)(a)) & (-2147483648)) == 0)
    195 
    196 IN_CLASSA_NET = (-16777216)
    197 IN_CLASSA_NSHIFT = 24
    198 IN_CLASSA_HOST = ((-1) & ~IN_CLASSA_NET)
    199 IN_CLASSA_MAX = 128
    200 def IN_CLASSB(a): return ((((in_addr_t)(a)) & (-1073741824)) == (-2147483648))
    201 
    202 IN_CLASSB_NET = (-65536)
    203 IN_CLASSB_NSHIFT = 16
    204 IN_CLASSB_HOST = ((-1) & ~IN_CLASSB_NET)
    205 IN_CLASSB_MAX = 65536
    206 def IN_CLASSC(a): return ((((in_addr_t)(a)) & (-536870912)) == (-1073741824))
    207 
    208 IN_CLASSC_NET = (-256)
    209 IN_CLASSC_NSHIFT = 8
    210 IN_CLASSC_HOST = ((-1) & ~IN_CLASSC_NET)
    211 def IN_CLASSD(a): return ((((in_addr_t)(a)) & (-268435456)) == (-536870912))
    212 
    213 def IN_MULTICAST(a): return IN_CLASSD(a)
    214 
    215 def IN_EXPERIMENTAL(a): return ((((in_addr_t)(a)) & (-536870912)) == (-536870912))
    216 
    217 def IN_BADCLASS(a): return ((((in_addr_t)(a)) & (-268435456)) == (-268435456))
    218 
    219 IN_LOOPBACKNET = 127
    220 INET_ADDRSTRLEN = 16
    221 INET6_ADDRSTRLEN = 46
    222 
    223 # Included from bits/socket.h
    224 
    225 # Included from limits.h
    226 _LIBC_LIMITS_H_ = 1
    227 MB_LEN_MAX = 16
    228 _LIMITS_H = 1
    229 CHAR_BIT = 8
    230 SCHAR_MIN = (-128)
    231 SCHAR_MAX = 127
    232 UCHAR_MAX = 255
    233 CHAR_MIN = 0
    234 CHAR_MAX = UCHAR_MAX
    235 CHAR_MIN = SCHAR_MIN
    236 CHAR_MAX = SCHAR_MAX
    237 SHRT_MIN = (-32768)
    238 SHRT_MAX = 32767
    239 USHRT_MAX = 65535
    240 INT_MAX = 2147483647
    241 LONG_MAX = 9223372036854775807L
    242 LONG_MAX = 2147483647L
    243 LONG_MIN = (-LONG_MAX - 1L)
    244 
    245 # Included from bits/posix1_lim.h
    246 _BITS_POSIX1_LIM_H = 1
    247 _POSIX_AIO_LISTIO_MAX = 2
    248 _POSIX_AIO_MAX = 1
    249 _POSIX_ARG_MAX = 4096
    250 _POSIX_CHILD_MAX = 6
    251 _POSIX_DELAYTIMER_MAX = 32
    252 _POSIX_LINK_MAX = 8
    253 _POSIX_MAX_CANON = 255
    254 _POSIX_MAX_INPUT = 255
    255 _POSIX_MQ_OPEN_MAX = 8
    256 _POSIX_MQ_PRIO_MAX = 32
    257 _POSIX_NGROUPS_MAX = 0
    258 _POSIX_OPEN_MAX = 16
    259 _POSIX_FD_SETSIZE = _POSIX_OPEN_MAX
    260 _POSIX_NAME_MAX = 14
    261 _POSIX_PATH_MAX = 256
    262 _POSIX_PIPE_BUF = 512
    263 _POSIX_RTSIG_MAX = 8
    264 _POSIX_SEM_NSEMS_MAX = 256
    265 _POSIX_SEM_VALUE_MAX = 32767
    266 _POSIX_SIGQUEUE_MAX = 32
    267 _POSIX_SSIZE_MAX = 32767
    268 _POSIX_STREAM_MAX = 8
    269 _POSIX_TZNAME_MAX = 6
    270 _POSIX_QLIMIT = 1
    271 _POSIX_HIWAT = _POSIX_PIPE_BUF
    272 _POSIX_UIO_MAXIOV = 16
    273 _POSIX_TTY_NAME_MAX = 9
    274 _POSIX_TIMER_MAX = 32
    275 _POSIX_LOGIN_NAME_MAX = 9
    276 _POSIX_CLOCKRES_MIN = 20000000
    277 
    278 # Included from bits/local_lim.h
    279 
    280 # Included from linux/limits.h
    281 NR_OPEN = 1024
    282 NGROUPS_MAX = 32
    283 ARG_MAX = 131072
    284 CHILD_MAX = 999
    285 OPEN_MAX = 256
    286 LINK_MAX = 127
    287 MAX_CANON = 255
    288 MAX_INPUT = 255
    289 NAME_MAX = 255
    290 PATH_MAX = 4096
    291 PIPE_BUF = 4096
    292 RTSIG_MAX = 32
    293 _POSIX_THREAD_KEYS_MAX = 128
    294 PTHREAD_KEYS_MAX = 1024
    295 _POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
    296 PTHREAD_DESTRUCTOR_ITERATIONS = _POSIX_THREAD_DESTRUCTOR_ITERATIONS
    297 _POSIX_THREAD_THREADS_MAX = 64
    298 PTHREAD_THREADS_MAX = 1024
    299 AIO_PRIO_DELTA_MAX = 20
    300 PTHREAD_STACK_MIN = 16384
    301 TIMER_MAX = 256
    302 SSIZE_MAX = LONG_MAX
    303 NGROUPS_MAX = _POSIX_NGROUPS_MAX
    304 
    305 # Included from bits/posix2_lim.h
    306 _BITS_POSIX2_LIM_H = 1
    307 _POSIX2_BC_BASE_MAX = 99
    308 _POSIX2_BC_DIM_MAX = 2048
    309 _POSIX2_BC_SCALE_MAX = 99
    310 _POSIX2_BC_STRING_MAX = 1000
    311 _POSIX2_COLL_WEIGHTS_MAX = 2
    312 _POSIX2_EXPR_NEST_MAX = 32
    313 _POSIX2_LINE_MAX = 2048
    314 _POSIX2_RE_DUP_MAX = 255
    315 _POSIX2_CHARCLASS_NAME_MAX = 14
    316 BC_BASE_MAX = _POSIX2_BC_BASE_MAX
    317 BC_DIM_MAX = _POSIX2_BC_DIM_MAX
    318 BC_SCALE_MAX = _POSIX2_BC_SCALE_MAX
    319 BC_STRING_MAX = _POSIX2_BC_STRING_MAX
    320 COLL_WEIGHTS_MAX = 255
    321 EXPR_NEST_MAX = _POSIX2_EXPR_NEST_MAX
    322 LINE_MAX = _POSIX2_LINE_MAX
    323 CHARCLASS_NAME_MAX = 2048
    324 RE_DUP_MAX = (0x7fff)
    325 
    326 # Included from bits/xopen_lim.h
    327 _XOPEN_LIM_H = 1
    328 
    329 # Included from bits/stdio_lim.h
    330 L_tmpnam = 20
    331 TMP_MAX = 238328
    332 FILENAME_MAX = 4096
    333 L_ctermid = 9
    334 L_cuserid = 9
    335 FOPEN_MAX = 16
    336 IOV_MAX = 1024
    337 _XOPEN_IOV_MAX = _POSIX_UIO_MAXIOV
    338 NL_ARGMAX = _POSIX_ARG_MAX
    339 NL_LANGMAX = _POSIX2_LINE_MAX
    340 NL_MSGMAX = INT_MAX
    341 NL_NMAX = INT_MAX
    342 NL_SETMAX = INT_MAX
    343 NL_TEXTMAX = INT_MAX
    344 NZERO = 20
    345 WORD_BIT = 16
    346 WORD_BIT = 32
    347 WORD_BIT = 64
    348 WORD_BIT = 16
    349 WORD_BIT = 32
    350 WORD_BIT = 64
    351 WORD_BIT = 32
    352 LONG_BIT = 32
    353 LONG_BIT = 64
    354 LONG_BIT = 32
    355 LONG_BIT = 64
    356 LONG_BIT = 64
    357 LONG_BIT = 32
    358 from TYPES import *
    359 PF_UNSPEC = 0
    360 PF_LOCAL = 1
    361 PF_UNIX = PF_LOCAL
    362 PF_FILE = PF_LOCAL
    363 PF_INET = 2
    364 PF_AX25 = 3
    365 PF_IPX = 4
    366 PF_APPLETALK = 5
    367 PF_NETROM = 6
    368 PF_BRIDGE = 7
    369 PF_ATMPVC = 8
    370 PF_X25 = 9
    371 PF_INET6 = 10
    372 PF_ROSE = 11
    373 PF_DECnet = 12
    374 PF_NETBEUI = 13
    375 PF_SECURITY = 14
    376 PF_KEY = 15
    377 PF_NETLINK = 16
    378 PF_ROUTE = PF_NETLINK
    379 PF_PACKET = 17
    380 PF_ASH = 18
    381 PF_ECONET = 19
    382 PF_ATMSVC = 20
    383 PF_SNA = 22
    384 PF_IRDA = 23
    385 PF_PPPOX = 24
    386 PF_WANPIPE = 25
    387 PF_BLUETOOTH = 31
    388 PF_MAX = 32
    389 AF_UNSPEC = PF_UNSPEC
    390 AF_LOCAL = PF_LOCAL
    391 AF_UNIX = PF_UNIX
    392 AF_FILE = PF_FILE
    393 AF_INET = PF_INET
    394 AF_AX25 = PF_AX25
    395 AF_IPX = PF_IPX
    396 AF_APPLETALK = PF_APPLETALK
    397 AF_NETROM = PF_NETROM
    398 AF_BRIDGE = PF_BRIDGE
    399 AF_ATMPVC = PF_ATMPVC
    400 AF_X25 = PF_X25
    401 AF_INET6 = PF_INET6
    402 AF_ROSE = PF_ROSE
    403 AF_DECnet = PF_DECnet
    404 AF_NETBEUI = PF_NETBEUI
    405 AF_SECURITY = PF_SECURITY
    406 AF_KEY = PF_KEY
    407 AF_NETLINK = PF_NETLINK
    408 AF_ROUTE = PF_ROUTE
    409 AF_PACKET = PF_PACKET
    410 AF_ASH = PF_ASH
    411 AF_ECONET = PF_ECONET
    412 AF_ATMSVC = PF_ATMSVC
    413 AF_SNA = PF_SNA
    414 AF_IRDA = PF_IRDA
    415 AF_PPPOX = PF_PPPOX
    416 AF_WANPIPE = PF_WANPIPE
    417 AF_BLUETOOTH = PF_BLUETOOTH
    418 AF_MAX = PF_MAX
    419 SOL_RAW = 255
    420 SOL_DECNET = 261
    421 SOL_X25 = 262
    422 SOL_PACKET = 263
    423 SOL_ATM = 264
    424 SOL_AAL = 265
    425 SOL_IRDA = 266
    426 SOMAXCONN = 128
    427 
    428 # Included from bits/sockaddr.h
    429 _BITS_SOCKADDR_H = 1
    430 def __SOCKADDR_COMMON(sa_prefix): return \
    431 
    432 _SS_SIZE = 128
    433 def CMSG_FIRSTHDR(mhdr): return \
    434 
    435 
    436 # Included from asm/socket.h
    437 
    438 # Included from asm/sockios.h
    439 FIOSETOWN = 0x8901
    440 SIOCSPGRP = 0x8902
    441 FIOGETOWN = 0x8903
    442 SIOCGPGRP = 0x8904
    443 SIOCATMARK = 0x8905
    444 SIOCGSTAMP = 0x8906
    445 SOL_SOCKET = 1
    446 SO_DEBUG = 1
    447 SO_REUSEADDR = 2
    448 SO_TYPE = 3
    449 SO_ERROR = 4
    450 SO_DONTROUTE = 5
    451 SO_BROADCAST = 6
    452 SO_SNDBUF = 7
    453 SO_RCVBUF = 8
    454 SO_KEEPALIVE = 9
    455 SO_OOBINLINE = 10
    456 SO_NO_CHECK = 11
    457 SO_PRIORITY = 12
    458 SO_LINGER = 13
    459 SO_BSDCOMPAT = 14
    460 SO_PASSCRED = 16
    461 SO_PEERCRED = 17
    462 SO_RCVLOWAT = 18
    463 SO_SNDLOWAT = 19
    464 SO_RCVTIMEO = 20
    465 SO_SNDTIMEO = 21
    466 SO_SECURITY_AUTHENTICATION = 22
    467 SO_SECURITY_ENCRYPTION_TRANSPORT = 23
    468 SO_SECURITY_ENCRYPTION_NETWORK = 24
    469 SO_BINDTODEVICE = 25
    470 SO_ATTACH_FILTER = 26
    471 SO_DETACH_FILTER = 27
    472 SO_PEERNAME = 28
    473 SO_TIMESTAMP = 29
    474 SCM_TIMESTAMP = SO_TIMESTAMP
    475 SO_ACCEPTCONN = 30
    476 SOCK_STREAM = 1
    477 SOCK_DGRAM = 2
    478 SOCK_RAW = 3
    479 SOCK_RDM = 4
    480 SOCK_SEQPACKET = 5
    481 SOCK_PACKET = 10
    482 SOCK_MAX = (SOCK_PACKET+1)
    483 
    484 # Included from bits/in.h
    485 IP_TOS = 1
    486 IP_TTL = 2
    487 IP_HDRINCL = 3
    488 IP_OPTIONS = 4
    489 IP_ROUTER_ALERT = 5
    490 IP_RECVOPTS = 6
    491 IP_RETOPTS = 7
    492 IP_PKTINFO = 8
    493 IP_PKTOPTIONS = 9
    494 IP_PMTUDISC = 10
    495 IP_MTU_DISCOVER = 10
    496 IP_RECVERR = 11
    497 IP_RECVTTL = 12
    498 IP_RECVTOS = 13
    499 IP_MULTICAST_IF = 32
    500 IP_MULTICAST_TTL = 33
    501 IP_MULTICAST_LOOP = 34
    502 IP_ADD_MEMBERSHIP = 35
    503 IP_DROP_MEMBERSHIP = 36
    504 IP_RECVRETOPTS = IP_RETOPTS
    505 IP_PMTUDISC_DONT = 0
    506 IP_PMTUDISC_WANT = 1
    507 IP_PMTUDISC_DO = 2
    508 SOL_IP = 0
    509 IP_DEFAULT_MULTICAST_TTL = 1
    510 IP_DEFAULT_MULTICAST_LOOP = 1
    511 IP_MAX_MEMBERSHIPS = 20
    512 IPV6_ADDRFORM = 1
    513 IPV6_PKTINFO = 2
    514 IPV6_HOPOPTS = 3
    515 IPV6_DSTOPTS = 4
    516 IPV6_RTHDR = 5
    517 IPV6_PKTOPTIONS = 6
    518 IPV6_CHECKSUM = 7
    519 IPV6_HOPLIMIT = 8
    520 IPV6_NEXTHOP = 9
    521 IPV6_AUTHHDR = 10
    522 IPV6_UNICAST_HOPS = 16
    523 IPV6_MULTICAST_IF = 17
    524 IPV6_MULTICAST_HOPS = 18
    525 IPV6_MULTICAST_LOOP = 19
    526 IPV6_JOIN_GROUP = 20
    527 IPV6_LEAVE_GROUP = 21
    528 IPV6_ROUTER_ALERT = 22
    529 IPV6_MTU_DISCOVER = 23
    530 IPV6_MTU = 24
    531 IPV6_RECVERR = 25
    532 IPV6_RXHOPOPTS = IPV6_HOPOPTS
    533 IPV6_RXDSTOPTS = IPV6_DSTOPTS
    534 IPV6_ADD_MEMBERSHIP = IPV6_JOIN_GROUP
    535 IPV6_DROP_MEMBERSHIP = IPV6_LEAVE_GROUP
    536 IPV6_PMTUDISC_DONT = 0
    537 IPV6_PMTUDISC_WANT = 1
    538 IPV6_PMTUDISC_DO = 2
    539 SOL_IPV6 = 41
    540 SOL_ICMPV6 = 58
    541 IPV6_RTHDR_LOOSE = 0
    542 IPV6_RTHDR_STRICT = 1
    543 IPV6_RTHDR_TYPE_0 = 0
    544 
    545 # Included from endian.h
    546 _ENDIAN_H = 1
    547 __LITTLE_ENDIAN = 1234
    548 __BIG_ENDIAN = 4321
    549 __PDP_ENDIAN = 3412
    550 
    551 # Included from bits/endian.h
    552 __BYTE_ORDER = __LITTLE_ENDIAN
    553 __FLOAT_WORD_ORDER = __BYTE_ORDER
    554 LITTLE_ENDIAN = __LITTLE_ENDIAN
    555 BIG_ENDIAN = __BIG_ENDIAN
    556 PDP_ENDIAN = __PDP_ENDIAN
    557 BYTE_ORDER = __BYTE_ORDER
    558 
    559 # Included from bits/byteswap.h
    560 _BITS_BYTESWAP_H = 1
    561 def __bswap_constant_16(x): return \
    562 
    563 def __bswap_16(x): return \
    564 
    565 def __bswap_16(x): return __bswap_constant_16 (x)
    566 
    567 def __bswap_constant_32(x): return \
    568 
    569 def __bswap_32(x): return \
    570 
    571 def __bswap_32(x): return \
    572 
    573 def __bswap_32(x): return __bswap_constant_32 (x)
    574 
    575 def __bswap_constant_64(x): return \
    576 
    577 def __bswap_64(x): return \
    578 
    579 def ntohl(x): return (x)
    580 
    581 def ntohs(x): return (x)
    582 
    583 def htonl(x): return (x)
    584 
    585 def htons(x): return (x)
    586 
    587 def ntohl(x): return __bswap_32 (x)
    588 
    589 def ntohs(x): return __bswap_16 (x)
    590 
    591 def htonl(x): return __bswap_32 (x)
    592 
    593 def htons(x): return __bswap_16 (x)
    594 
    595 def IN6_IS_ADDR_UNSPECIFIED(a): return \
    596 
    597 def IN6_IS_ADDR_LOOPBACK(a): return \
    598 
    599 def IN6_IS_ADDR_LINKLOCAL(a): return \
    600 
    601 def IN6_IS_ADDR_SITELOCAL(a): return \
    602 
    603 def IN6_IS_ADDR_V4MAPPED(a): return \
    604 
    605 def IN6_IS_ADDR_V4COMPAT(a): return \
    606 
    607 def IN6_IS_ADDR_MC_NODELOCAL(a): return \
    608 
    609 def IN6_IS_ADDR_MC_LINKLOCAL(a): return \
    610 
    611 def IN6_IS_ADDR_MC_SITELOCAL(a): return \
    612 
    613 def IN6_IS_ADDR_MC_ORGLOCAL(a): return \
    614 
    615 def IN6_IS_ADDR_MC_GLOBAL(a): return
    616