diff options
Diffstat (limited to 'ipproto.h')
-rw-r--r-- | ipproto.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/ipproto.h b/ipproto.h index ed327857bc93..30be911eba5e 100644 --- a/ipproto.h +++ b/ipproto.h @@ -36,7 +36,7 @@ */ extern const struct tok ipproto_values[]; -extern const char *netdb_protoname (const nd_uint8_t); +extern const char *netdb_protoname (const uint8_t); #ifndef IPPROTO_IP #define IPPROTO_IP 0 /* dummy for IP */ @@ -78,7 +78,7 @@ extern const char *netdb_protoname (const nd_uint8_t); #define IPPROTO_FRAGMENT 44 /* IPv6 fragmentation header */ #endif #ifndef IPPROTO_RSVP -#define IPPROTO_RSVP 46 /* resource reservation */ +#define IPPROTO_RSVP 46 /* resource reservation */ #endif #ifndef IPPROTO_GRE #define IPPROTO_GRE 47 /* General Routing Encap. */ @@ -104,8 +104,7 @@ extern const char *netdb_protoname (const nd_uint8_t); #ifndef IPPROTO_MOBILITY_OLD /* * The current Protocol Numbers list says that the IP protocol number for - * mobility headers is 135; it cites draft-ietf-mobileip-ipv6-24, but - * that draft doesn't actually give a number. + * mobility headers is 135; it cites RFC 6275 (obsoletes RFC 3775). * * It appears that 62 used to be used, even though that's assigned to * a protocol called CFTP; however, the only reference for CFTP is a @@ -130,10 +129,7 @@ extern const char *netdb_protoname (const nd_uint8_t); #define IPPROTO_IPCOMP 108 #endif #ifndef IPPROTO_VRRP -#define IPPROTO_VRRP 112 -#endif -#ifndef IPPROTO_CARP -#define IPPROTO_CARP 112 +#define IPPROTO_VRRP 112 /* See also CARP. */ #endif #ifndef IPPROTO_PGM #define IPPROTO_PGM 113 @@ -144,3 +140,6 @@ extern const char *netdb_protoname (const nd_uint8_t); #ifndef IPPROTO_MOBILITY #define IPPROTO_MOBILITY 135 #endif +#ifndef IPPROTO_ETHERNET +#define IPPROTO_ETHERNET 143 /* TEMPORARY - registered 2020-01-31, expires 2021-01-31 */ +#endif |