summaryrefslogtreecommitdiff
path: root/ip6.h
diff options
context:
space:
mode:
authorguy <guy>2005-04-20 10:04:16 +0000
committerguy <guy>2005-04-20 10:04:16 +0000
commit1285f9e766834e9ab4c666e4cf709665c0adc92f (patch)
treee8b4139d1f5ea0f2a1bf27428140288643007d86 /ip6.h
parentcaf503e482ceccbeccd95d2a5d06ba720b2392af (diff)
downloadtcpdump-1285f9e766834e9ab4c666e4cf709665c0adc92f.tar.gz
IRIX defines IPV6_VERSION in <netinet/in.h>, and we don't use it, so
remove the definition from ip6.h, to get rid of compiler warnings.
Diffstat (limited to 'ip6.h')
-rw-r--r--ip6.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ip6.h b/ip6.h
index 8e73b947..d53fa626 100644
--- a/ip6.h
+++ b/ip6.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6 2002-12-11 22:29:21 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.7 2005-04-20 10:04:16 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 $ */
@@ -95,9 +95,6 @@ struct ip6_hdr {
#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
-#define IPV6_VERSION 0x60
-#define IPV6_VERSION_MASK 0xf0
-
/* in network endian */
#define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */
#define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */