X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/167c740563488b08b52c74bf21cdcba16efc9c31..refs/heads/tcpdump-4.1:/icmp6.h diff --git a/icmp6.h b/icmp6.h index 978b6a25..168a7089 100644 --- a/icmp6.h +++ b/icmp6.h @@ -1,5 +1,5 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.17 2005-09-05 09:29:01 guy Exp $ (LBL) */ -/* $NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp $ */ +/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.18 2007-08-29 02:31:44 mcr Exp $ (LBL) */ +/* NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp */ /* $KAME: icmp6.h,v 1.22 2000/08/03 15:25:16 jinmei Exp $ */ /* @@ -276,7 +276,7 @@ struct nd_opt_hdr { /* Neighbor discovery option header */ #define ND_OPT_ADVINTERVAL 7 #define ND_OPT_HOMEAGENT_INFO 8 #define ND_OPT_ROUTE_INFO 9 /* draft-ietf-ipngwg-router-preference, not officially assigned yet */ - +#define ND_OPT_RDNSS 25 struct nd_opt_prefix_info { /* prefix information */ u_int8_t nd_opt_pi_type; @@ -308,6 +308,14 @@ struct nd_opt_mtu { /* MTU option */ u_int32_t nd_opt_mtu_mtu; }; +struct nd_opt_rdnss { /* RDNSS RFC 5006 */ + u_int8_t nd_opt_rdnss_type; + u_int8_t nd_opt_rdnss_len; + u_int16_t nd_opt_rdnss_reserved; + u_int32_t nd_opt_rdnss_lifetime; + struct in6_addr nd_opt_rdnss_addr[1]; /* variable-length */ +}; + struct nd_opt_advinterval { /* Advertisement interval option */ u_int8_t nd_opt_adv_type; u_int8_t nd_opt_adv_len;