From 845436d272c9c49c06426425ff3b6349fb1f7a0b Mon Sep 17 00:00:00 2001 From: sumikawa Date: Thu, 21 Jun 2001 07:08:43 +0000 Subject: - Renumber KAME local ICMP types and NDP options numberes beacaues they are duplicated by newly defined types/options in RFC3121 - We have no backward compatibility issue. There is no apps in our distribution which use the above types/options. Obtained from: KAME MFC after: 2 weeks --- sys/netinet/icmp6.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h index 425495d..756867e 100644 --- a/sys/netinet/icmp6.h +++ b/sys/netinet/icmp6.h @@ -121,13 +121,13 @@ struct icmp6_hdr { #define ICMP6_NI_REPLY 140 /* node information reply */ /* The definitions below are experimental. TBA */ -#define MLD6_MTRACE_RESP 141 /* mtrace response(to sender) */ -#define MLD6_MTRACE 142 /* mtrace messages */ +#define MLD6_MTRACE_RESP 200 /* mtrace response(to sender) */ +#define MLD6_MTRACE 201 /* mtrace messages */ -#define ICMP6_HADISCOV_REQUEST 143 /* XXX To be defined */ -#define ICMP6_HADISCOV_REPLY 144 /* XXX To be defined */ +#define ICMP6_HADISCOV_REQUEST 202 /* XXX To be defined */ +#define ICMP6_HADISCOV_REPLY 203 /* XXX To be defined */ -#define ICMP6_MAXTYPE 144 +#define ICMP6_MAXTYPE 203 #define ICMP6_DST_UNREACH_NOROUTE 0 /* no route to destination */ #define ICMP6_DST_UNREACH_ADMIN 1 /* administratively prohibited */ @@ -274,7 +274,8 @@ struct nd_opt_hdr { /* Neighbor discovery option header */ #define ND_OPT_PREFIX_INFORMATION 3 #define ND_OPT_REDIRECTED_HEADER 4 #define ND_OPT_MTU 5 -#define ND_OPT_ROUTE_INFO 9 /* draft-draves-router-preference, not officially assigned yet */ + +#define ND_OPT_ROUTE_INFO 200 /* draft-ietf-ipngwg-router-preference, not officially assigned yet */ struct nd_opt_prefix_info { /* prefix information */ u_int8_t nd_opt_pi_type; @@ -313,6 +314,7 @@ struct nd_opt_route_info { /* route info */ u_int32_t nd_opt_rti_lifetime; /* followed by prefix */ } __attribute__((__packed__)); + /* * icmp6 namelookup */ -- cgit v1.1