update (unused) ND option identifiers and corresponding comments

This commit is contained in:
spz 2011-05-08 18:42:53 +00:00
parent f7e12f18b3
commit 18f5539bfc

View File

@ -1,4 +1,4 @@
/* $NetBSD: icmp6.h,v 1.40 2009/10/31 22:32:17 christos Exp $ */
/* $NetBSD: icmp6.h,v 1.41 2011/05/08 18:42:53 spz Exp $ */
/* $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $ */
@ -229,7 +229,7 @@ struct nd_router_advert { /* router advertisement */
#define ND_RA_FLAG_HOME_AGENT 0x20
/*
* Router preference values based on RFC4199.
* Router preference values based on RFC4191.
*/
#define ND_RA_FLAG_RTPREF_MASK 0x18 /* 00011000 */
@ -300,11 +300,11 @@ struct nd_opt_hdr { /* Neighbor discovery option header */
#define ND_OPT_HOMEAGENT_INFO 8
#define ND_OPT_SOURCE_ADDRLIST 9
#define ND_OPT_TARGET_ADDRLIST 10
/* RFC5380 */
#define ND_OPT_MAP 23
/* RFC4191 */
#define ND_OPT_ROUTE_INFO 24
#define ND_OPT_RDNSS 25
/* draft-ietf-ipngwg-router-preference, not officially assigned yet */
#define ND_OPT_ROUTE_INFO 200
/* draft-ietf-mobileip-hmipv6, not officially assigned yet */
#define ND_OPT_MAP 201
struct nd_opt_route_info { /* route info */
u_int8_t nd_opt_rti_type;