icmp6.h (225736) | icmp6.h (252283) |
---|---|
1/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.18 2007-08-29 02:31:44 mcr Exp $ (LBL) */ 2/* NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp */ 3/* $KAME: icmp6.h,v 1.22 2000/08/03 15:25:16 jinmei Exp $ */ 4 5/* 6 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 7 * All rights reserved. 8 * --- 263 unchanged lines hidden (view full) --- 272#define ND_OPT_TARGET_LINKADDR 2 273#define ND_OPT_PREFIX_INFORMATION 3 274#define ND_OPT_REDIRECTED_HEADER 4 275#define ND_OPT_MTU 5 276#define ND_OPT_ADVINTERVAL 7 277#define ND_OPT_HOMEAGENT_INFO 8 278#define ND_OPT_ROUTE_INFO 9 /* draft-ietf-ipngwg-router-preference, not officially assigned yet */ 279#define ND_OPT_RDNSS 25 | 1/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.18 2007-08-29 02:31:44 mcr Exp $ (LBL) */ 2/* NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp */ 3/* $KAME: icmp6.h,v 1.22 2000/08/03 15:25:16 jinmei Exp $ */ 4 5/* 6 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 7 * All rights reserved. 8 * --- 263 unchanged lines hidden (view full) --- 272#define ND_OPT_TARGET_LINKADDR 2 273#define ND_OPT_PREFIX_INFORMATION 3 274#define ND_OPT_REDIRECTED_HEADER 4 275#define ND_OPT_MTU 5 276#define ND_OPT_ADVINTERVAL 7 277#define ND_OPT_HOMEAGENT_INFO 8 278#define ND_OPT_ROUTE_INFO 9 /* draft-ietf-ipngwg-router-preference, not officially assigned yet */ 279#define ND_OPT_RDNSS 25 |
280#define ND_OPT_DNSSL 31 |
|
280 281struct nd_opt_prefix_info { /* prefix information */ 282 u_int8_t nd_opt_pi_type; 283 u_int8_t nd_opt_pi_len; 284 u_int8_t nd_opt_pi_prefix_len; 285 u_int8_t nd_opt_pi_flags_reserved; 286 u_int8_t nd_opt_pi_valid_time[4]; 287 u_int8_t nd_opt_pi_preferred_time[4]; --- 15 unchanged lines hidden (view full) --- 303 304struct nd_opt_mtu { /* MTU option */ 305 u_int8_t nd_opt_mtu_type; 306 u_int8_t nd_opt_mtu_len; 307 u_int16_t nd_opt_mtu_reserved; 308 u_int32_t nd_opt_mtu_mtu; 309}; 310 | 281 282struct nd_opt_prefix_info { /* prefix information */ 283 u_int8_t nd_opt_pi_type; 284 u_int8_t nd_opt_pi_len; 285 u_int8_t nd_opt_pi_prefix_len; 286 u_int8_t nd_opt_pi_flags_reserved; 287 u_int8_t nd_opt_pi_valid_time[4]; 288 u_int8_t nd_opt_pi_preferred_time[4]; --- 15 unchanged lines hidden (view full) --- 304 305struct nd_opt_mtu { /* MTU option */ 306 u_int8_t nd_opt_mtu_type; 307 u_int8_t nd_opt_mtu_len; 308 u_int16_t nd_opt_mtu_reserved; 309 u_int32_t nd_opt_mtu_mtu; 310}; 311 |
311struct nd_opt_rdnss { /* RDNSS RFC 5006 */ | 312struct nd_opt_rdnss { /* RDNSS RFC 6106 5.1 */ |
312 u_int8_t nd_opt_rdnss_type; 313 u_int8_t nd_opt_rdnss_len; 314 u_int16_t nd_opt_rdnss_reserved; 315 u_int32_t nd_opt_rdnss_lifetime; 316 struct in6_addr nd_opt_rdnss_addr[1]; /* variable-length */ 317}; 318 | 313 u_int8_t nd_opt_rdnss_type; 314 u_int8_t nd_opt_rdnss_len; 315 u_int16_t nd_opt_rdnss_reserved; 316 u_int32_t nd_opt_rdnss_lifetime; 317 struct in6_addr nd_opt_rdnss_addr[1]; /* variable-length */ 318}; 319 |
320struct nd_opt_dnssl { /* DNSSL RFC 6106 5.2 */ 321 u_int8_t nd_opt_dnssl_type; 322 u_int8_t nd_opt_dnssl_len; 323 u_int16_t nd_opt_dnssl_reserved; 324 u_int32_t nd_opt_dnssl_lifetime; 325 /* followed by list of DNS search domains, variable-length */ 326}; 327 |
|
319struct nd_opt_advinterval { /* Advertisement interval option */ 320 u_int8_t nd_opt_adv_type; 321 u_int8_t nd_opt_adv_len; 322 u_int16_t nd_opt_adv_reserved; 323 u_int32_t nd_opt_adv_interval; 324}; 325 326struct nd_opt_homeagent_info { /* Home Agent info */ --- 138 unchanged lines hidden --- | 328struct nd_opt_advinterval { /* Advertisement interval option */ 329 u_int8_t nd_opt_adv_type; 330 u_int8_t nd_opt_adv_len; 331 u_int16_t nd_opt_adv_reserved; 332 u_int32_t nd_opt_adv_interval; 333}; 334 335struct nd_opt_homeagent_info { /* Home Agent info */ --- 138 unchanged lines hidden --- |