diff options
Diffstat (limited to 'contrib/tcpdump/ip6.h')
-rw-r--r-- | contrib/tcpdump/ip6.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/tcpdump/ip6.h b/contrib/tcpdump/ip6.h index 1ad9149..2ea1d0a 100644 --- a/contrib/tcpdump/ip6.h +++ b/contrib/tcpdump/ip6.h @@ -172,7 +172,11 @@ struct ip6_rthdr { /* followed by routing type specific data */ } UNALIGNED; +#define IPV6_RTHDR_TYPE_0 0 +#define IPV6_RTHDR_TYPE_2 2 + /* Type 0 Routing header */ +/* Also used for Type 2 */ struct ip6_rthdr0 { uint8_t ip6r0_nxt; /* next header */ uint8_t ip6r0_len; /* length in units of 8 octets */ @@ -195,7 +199,4 @@ struct ip6_frag { #define IP6F_RESERVED_MASK 0x0006 /* reserved bits in ip6f_offlg */ #define IP6F_MORE_FRAG 0x0001 /* more-fragments flag */ -/* in print-ip6.c */ -extern int nextproto6_cksum(const struct ip6_hdr *, const uint8_t *, u_int, u_int, u_int); - #endif /* not _NETINET_IP6_H_ */ |