summaryrefslogtreecommitdiffstats
path: root/sys/netinet/icmp6.h
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2001-06-21 07:08:43 +0000
committersumikawa <sumikawa@FreeBSD.org>2001-06-21 07:08:43 +0000
commit845436d272c9c49c06426425ff3b6349fb1f7a0b (patch)
tree850c28ec4b45151654e7e0b9ac9fd2c08e7d0547 /sys/netinet/icmp6.h
parentc05dadd8324d3befaaa8bf5972a638fab840e9b4 (diff)
downloadFreeBSD-src-845436d272c9c49c06426425ff3b6349fb1f7a0b.zip
FreeBSD-src-845436d272c9c49c06426425ff3b6349fb1f7a0b.tar.gz
- 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
Diffstat (limited to 'sys/netinet/icmp6.h')
-rw-r--r--sys/netinet/icmp6.h14
1 files changed, 8 insertions, 6 deletions
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
*/
OpenPOWER on IntegriCloud