X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f3b1a282845777b4e729ecfe5d0c8b8d669010c5..refs/heads/tcpdump-3.8:/ip6.h diff --git a/ip6.h b/ip6.h index 61cb609f..8e73b947 100644 --- a/ip6.h +++ b/ip6.h @@ -1,3 +1,4 @@ +/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6 2002-12-11 22:29:21 guy Exp $ (LBL) */ /* $NetBSD: ip6.h,v 1.9 2000/07/13 05:34:21 itojun Exp $ */ /* $KAME: ip6.h,v 1.9 2000/07/02 21:01:32 itojun Exp $ */ @@ -186,9 +187,8 @@ struct ip6_frag { u_int32_t ip6f_ident; /* identification */ }; -/* network endian */ -#define IP6F_OFF_MASK ((u_int16_t)htons(0xfff8)) /* mask out offset from _offlg */ -#define IP6F_RESERVED_MASK ((u_int16_t)htons(0x0006)) /* reserved bits in ip6f_offlg */ -#define IP6F_MORE_FRAG ((u_int16_t)htons(0x0001)) /* more-fragments flag */ +#define IP6F_OFF_MASK 0xfff8 /* mask out offset from ip6f_offlg */ +#define IP6F_RESERVED_MASK 0x0006 /* reserved bits in ip6f_offlg */ +#define IP6F_MORE_FRAG 0x0001 /* more-fragments flag */ #endif /* not _NETINET_IP6_H_ */