Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 1 | # Generated by h2py from /usr/include/netinet/in.h |
Guido van Rossum | 70f1418 | 1993-12-29 16:35:41 +0000 | [diff] [blame] | 2 | IPPROTO_IP = 0 |
| 3 | IPPROTO_ICMP = 1 |
| 4 | IPPROTO_IGMP = 2 |
| 5 | IPPROTO_GGP = 3 |
| 6 | IPPROTO_TCP = 6 |
| 7 | IPPROTO_EGP = 8 |
| 8 | IPPROTO_PUP = 12 |
| 9 | IPPROTO_UDP = 17 |
| 10 | IPPROTO_IDP = 22 |
| 11 | IPPROTO_TP = 29 |
| 12 | IPPROTO_XTP = 36 |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 13 | IPPROTO_HELLO = 63 |
| 14 | IPPROTO_ND = 77 |
Guido van Rossum | 70f1418 | 1993-12-29 16:35:41 +0000 | [diff] [blame] | 15 | IPPROTO_EON = 80 |
| 16 | IPPROTO_RAW = 255 |
| 17 | IPPROTO_MAX = 256 |
| 18 | IPPORT_RESERVED = 1024 |
| 19 | IPPORT_USERRESERVED = 5000 |
| 20 | IN_CLASSA_NET = 0xff000000 |
| 21 | IN_CLASSA_NSHIFT = 24 |
| 22 | IN_CLASSA_HOST = 0x00ffffff |
| 23 | IN_CLASSA_MAX = 128 |
| 24 | IN_CLASSB_NET = 0xffff0000 |
| 25 | IN_CLASSB_NSHIFT = 16 |
| 26 | IN_CLASSB_HOST = 0x0000ffff |
| 27 | IN_CLASSB_MAX = 65536 |
| 28 | IN_CLASSC_NET = 0xffffff00 |
| 29 | IN_CLASSC_NSHIFT = 8 |
| 30 | IN_CLASSC_HOST = 0x000000ff |
| 31 | IN_CLASSD_NET = 0xf0000000 |
| 32 | IN_CLASSD_NSHIFT = 28 |
| 33 | IN_CLASSD_HOST = 0x0fffffff |
| 34 | INADDR_ANY = 0x00000000 |
| 35 | INADDR_BROADCAST = 0xffffffff |
| 36 | INADDR_LOOPBACK = 0x7F000001 |
| 37 | INADDR_UNSPEC_GROUP = 0xe0000000 |
| 38 | INADDR_ALLHOSTS_GROUP = 0xe0000001 |
| 39 | INADDR_MAX_LOCAL_GROUP = 0xe00000ff |
| 40 | INADDR_NONE = 0xffffffff |
| 41 | IN_LOOPBACKNET = 127 |
| 42 | IP_OPTIONS = 1 |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 43 | IP_MULTICAST_IF = 2 |
| 44 | IP_MULTICAST_TTL = 3 |
| 45 | IP_MULTICAST_LOOP = 4 |
| 46 | IP_ADD_MEMBERSHIP = 5 |
| 47 | IP_DROP_MEMBERSHIP = 6 |
Guido van Rossum | 70f1418 | 1993-12-29 16:35:41 +0000 | [diff] [blame] | 48 | IP_HDRINCL = 7 |
| 49 | IP_TOS = 8 |
| 50 | IP_TTL = 9 |
| 51 | IP_RECVOPTS = 10 |
| 52 | IP_RECVRETOPTS = 11 |
| 53 | IP_RECVDSTADDR = 12 |
| 54 | IP_RETOPTS = 13 |
Guido van Rossum | b6775db | 1994-08-01 11:34:53 +0000 | [diff] [blame] | 55 | IP_OPTIONS = 1 |
| 56 | IP_HDRINCL = 2 |
| 57 | IP_TOS = 3 |
| 58 | IP_TTL = 4 |
| 59 | IP_RECVOPTS = 5 |
| 60 | IP_RECVRETOPTS = 6 |
| 61 | IP_RECVDSTADDR = 7 |
| 62 | IP_RETOPTS = 8 |
| 63 | IP_MULTICAST_IF = 20 |
| 64 | IP_MULTICAST_TTL = 21 |
| 65 | IP_MULTICAST_LOOP = 22 |
| 66 | IP_ADD_MEMBERSHIP = 23 |
| 67 | IP_DROP_MEMBERSHIP = 24 |
| 68 | IRIX4_IP_OPTIONS = 1 |
| 69 | IRIX4_IP_MULTICAST_IF = 2 |
| 70 | IRIX4_IP_MULTICAST_TTL = 3 |
| 71 | IRIX4_IP_MULTICAST_LOOP = 4 |
| 72 | IRIX4_IP_ADD_MEMBERSHIP = 5 |
| 73 | IRIX4_IP_DROP_MEMBERSHIP = 6 |
| 74 | IRIX4_IP_HDRINCL = 7 |
| 75 | IRIX4_IP_TOS = 8 |
| 76 | IRIX4_IP_TTL = 9 |
| 77 | IRIX4_IP_RECVOPTS = 10 |
| 78 | IRIX4_IP_RECVRETOPTS = 11 |
| 79 | IRIX4_IP_RECVDSTADDR = 12 |
| 80 | IRIX4_IP_RETOPTS = 13 |
Guido van Rossum | 70f1418 | 1993-12-29 16:35:41 +0000 | [diff] [blame] | 81 | IP_DEFAULT_MULTICAST_TTL = 1 |
| 82 | IP_DEFAULT_MULTICAST_LOOP = 1 |
| 83 | IP_MAX_MEMBERSHIPS = 20 |