123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- extern const struct tok ipproto_values[];
- extern const char *netdb_protoname (const nd_uint8_t);
- #ifndef IPPROTO_IP
- #define IPPROTO_IP 0
- #endif
- #ifndef IPPROTO_HOPOPTS
- #define IPPROTO_HOPOPTS 0
- #endif
- #ifndef IPPROTO_ICMP
- #define IPPROTO_ICMP 1
- #endif
- #ifndef IPPROTO_IGMP
- #define IPPROTO_IGMP 2
- #endif
- #ifndef IPPROTO_IPV4
- #define IPPROTO_IPV4 4
- #endif
- #ifndef IPPROTO_TCP
- #define IPPROTO_TCP 6
- #endif
- #ifndef IPPROTO_EGP
- #define IPPROTO_EGP 8
- #endif
- #ifndef IPPROTO_PIGP
- #define IPPROTO_PIGP 9
- #endif
- #ifndef IPPROTO_UDP
- #define IPPROTO_UDP 17
- #endif
- #ifndef IPPROTO_DCCP
- #define IPPROTO_DCCP 33
- #endif
- #ifndef IPPROTO_IPV6
- #define IPPROTO_IPV6 41
- #endif
- #ifndef IPPROTO_ROUTING
- #define IPPROTO_ROUTING 43
- #endif
- #ifndef IPPROTO_FRAGMENT
- #define IPPROTO_FRAGMENT 44
- #endif
- #ifndef IPPROTO_RSVP
- #define IPPROTO_RSVP 46
- #endif
- #ifndef IPPROTO_GRE
- #define IPPROTO_GRE 47
- #endif
- #ifndef IPPROTO_ESP
- #define IPPROTO_ESP 50
- #endif
- #ifndef IPPROTO_AH
- #define IPPROTO_AH 51
- #endif
- #ifndef IPPROTO_MOBILE
- #define IPPROTO_MOBILE 55
- #endif
- #ifndef IPPROTO_ICMPV6
- #define IPPROTO_ICMPV6 58
- #endif
- #ifndef IPPROTO_NONE
- #define IPPROTO_NONE 59
- #endif
- #ifndef IPPROTO_DSTOPTS
- #define IPPROTO_DSTOPTS 60
- #endif
- #ifndef IPPROTO_MOBILITY_OLD
- #define IPPROTO_MOBILITY_OLD 62
- #endif
- #ifndef IPPROTO_ND
- #define IPPROTO_ND 77
- #endif
- #ifndef IPPROTO_EIGRP
- #define IPPROTO_EIGRP 88
- #endif
- #ifndef IPPROTO_OSPF
- #define IPPROTO_OSPF 89
- #endif
- #ifndef IPPROTO_PIM
- #define IPPROTO_PIM 103
- #endif
- #ifndef IPPROTO_IPCOMP
- #define IPPROTO_IPCOMP 108
- #endif
- #ifndef IPPROTO_VRRP
- #define IPPROTO_VRRP 112
- #endif
- #ifndef IPPROTO_CARP
- #define IPPROTO_CARP 112
- #endif
- #ifndef IPPROTO_PGM
- #define IPPROTO_PGM 113
- #endif
- #ifndef IPPROTO_SCTP
- #define IPPROTO_SCTP 132
- #endif
- #ifndef IPPROTO_MOBILITY
- #define IPPROTO_MOBILITY 135
- #endif
|