Deleted Added
full compact
ip_var.h (36707) ip_var.h (36767)
1/*
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95
1/*
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95
34 * $Id: ip_var.h,v 1.39 1998/06/05 22:40:01 julian Exp $
34 * $Id: ip_var.h,v 1.40 1998/06/06 19:39:10 julian Exp $
35 */
36
37#ifndef _NETINET_IP_VAR_H_
38#define _NETINET_IP_VAR_H_
39
40/*
41 * Overlay for ip header used by other protocols (tcp, udp).
42 */

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

71
72/*
73 * Ip header, when holding a fragment.
74 *
75 * Note: ipf_next must be at same offset as ipq_next above
76 */
77struct ipasfrag {
78#if BYTE_ORDER == LITTLE_ENDIAN
35 */
36
37#ifndef _NETINET_IP_VAR_H_
38#define _NETINET_IP_VAR_H_
39
40/*
41 * Overlay for ip header used by other protocols (tcp, udp).
42 */

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

71
72/*
73 * Ip header, when holding a fragment.
74 *
75 * Note: ipf_next must be at same offset as ipq_next above
76 */
77struct ipasfrag {
78#if BYTE_ORDER == LITTLE_ENDIAN
79 u_char ip_hl:4,
79 u_int ip_hl:4,
80 ip_v:4;
81#endif
82#if BYTE_ORDER == BIG_ENDIAN
80 ip_v:4;
81#endif
82#if BYTE_ORDER == BIG_ENDIAN
83 u_char ip_v:4,
83 u_int ip_v:4,
84 ip_hl:4;
85#endif
86 u_char ipf_mff; /* XXX overlays ip_tos: use low bit
87 * to avoid destroying tos;
88 * copied from (ip_off&IP_MF) */
89 u_short ip_len;
90 u_short ip_id;
91 u_short ip_off;

--- 125 unchanged lines hidden ---
84 ip_hl:4;
85#endif
86 u_char ipf_mff; /* XXX overlays ip_tos: use low bit
87 * to avoid destroying tos;
88 * copied from (ip_off&IP_MF) */
89 u_short ip_len;
90 u_short ip_id;
91 u_short ip_off;

--- 125 unchanged lines hidden ---