Deleted Added
full compact
ip6.h (127668) ip6.h (147899)
1/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6 2002/12/11 22:29:21 guy Exp $ (LBL) */
1/* @(#) $Header: /tcpdump/master/tcpdump/ip6.h,v 1.6.4.1 2005/04/20 10:04:37 guy Exp $ (LBL) */
2/* $NetBSD: ip6.h,v 1.9 2000/07/13 05:34:21 itojun Exp $ */
3/* $KAME: ip6.h,v 1.9 2000/07/02 21:01:32 itojun Exp $ */
4
5/*
6 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 80 unchanged lines hidden (view full) ---

90
91#define ip6_vfc ip6_ctlun.ip6_un2_vfc
92#define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow
93#define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
94#define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
95#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
96#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
97
2/* $NetBSD: ip6.h,v 1.9 2000/07/13 05:34:21 itojun Exp $ */
3/* $KAME: ip6.h,v 1.9 2000/07/02 21:01:32 itojun Exp $ */
4
5/*
6 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 80 unchanged lines hidden (view full) ---

90
91#define ip6_vfc ip6_ctlun.ip6_un2_vfc
92#define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow
93#define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
94#define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
95#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
96#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
97
98#define IPV6_VERSION 0x60
99#define IPV6_VERSION_MASK 0xf0
100
101/* in network endian */
102#define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */
103#define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */
104#if 1
105/* ECN bits proposed by Sally Floyd */
106#define IP6TOS_CE 0x01 /* congestion experienced */
107#define IP6TOS_ECT 0x02 /* ECN-capable transport */
108#endif

--- 86 unchanged lines hidden ---
98/* in network endian */
99#define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */
100#define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */
101#if 1
102/* ECN bits proposed by Sally Floyd */
103#define IP6TOS_CE 0x01 /* congestion experienced */
104#define IP6TOS_ECT 0x02 /* ECN-capable transport */
105#endif

--- 86 unchanged lines hidden ---