mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-18 06:14:06 +08:00
sync with 2292bis-02: ND_OPT_ADVINTERVAL
This commit is contained in:
parent
6e8c0f9cc8
commit
64a0e95995
4
icmp6.h
4
icmp6.h
@ -1,4 +1,4 @@
|
||||
/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.5 2001-01-22 02:31:18 itojun Exp $ (LBL) */
|
||||
/* @(#) $Header: /tcpdump/master/tcpdump/icmp6.h,v 1.6 2001-01-28 09:02:14 itojun 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 $ */
|
||||
|
||||
@ -249,7 +249,7 @@ 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_ADVINT 7
|
||||
#define ND_OPT_ADVINTERVAL 7
|
||||
|
||||
struct nd_opt_prefix_info { /* prefix information */
|
||||
u_int8_t nd_opt_pi_type;
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.43 2001-01-22 02:31:18 itojun Exp $";
|
||||
"@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.44 2001-01-28 09:02:14 itojun Exp $";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
@ -525,7 +525,7 @@ icmp6_opt_print(register const u_char *bp, int resid)
|
||||
icmp6_opt_print((const u_char *)op + (op->nd_opt_len << 3),
|
||||
resid - (op->nd_opt_len << 3));
|
||||
break;
|
||||
case ND_OPT_ADVINT:
|
||||
case ND_OPT_ADVINTERVAL:
|
||||
opa = (struct nd_opt_advint *)op;
|
||||
TCHECK(opa->nd_opt_advint_advint);
|
||||
printf("(advint: "); /*)*/
|
||||
|
Loading…
Reference in New Issue
Block a user