Deleted Added
full compact
if_gre.h (103842) if_gre.h (107670)
1/* $NetBSD: if_gre.h,v 1.10 2002/02/24 17:22:20 martin Exp $ */
1/* $NetBSD: if_gre.h,v 1.10 2002/02/24 17:22:20 martin Exp $ */
2/* $FreeBSD: head/sys/net/if_gre.h 103842 2002-09-23 06:25:08Z alfred $ */
2/* $FreeBSD: head/sys/net/if_gre.h 107670 2002-12-07 14:22:05Z sobomax $ */
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Heiko W.Rupp <hwr@pilhuhn.de>
10 *

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

100
101#define GRE_CP 0x8000 /* Checksum Present */
102#define GRE_RP 0x4000 /* Routing Present */
103#define GRE_KP 0x2000 /* Key Present */
104#define GRE_SP 0x1000 /* Sequence Present */
105#define GRE_SS 0x0800 /* Strict Source Route */
106
107/*
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Heiko W.Rupp <hwr@pilhuhn.de>
10 *

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

100
101#define GRE_CP 0x8000 /* Checksum Present */
102#define GRE_RP 0x4000 /* Routing Present */
103#define GRE_KP 0x2000 /* Key Present */
104#define GRE_SP 0x1000 /* Sequence Present */
105#define GRE_SS 0x0800 /* Strict Source Route */
106
107/*
108 * CISCO uses special type for GRE tunnel created as part of WCCP
109 * connection, while in fact those packets are just IPv4 encapsulated
110 * into GRE.
111 */
112#define WCCP_PROTOCOL_TYPE 0x883E
113
114/*
108 * gre_sre defines a Source route Entry. These are needed if packets
109 * should be routed over more than one tunnel hop by hop
110 */
111struct gre_sre {
112 u_int16_t sre_family; /* adress family */
113 u_char sre_offset; /* offset to first octet of active entry */
114 u_char sre_length; /* number of octets in the SRE.
115 sre_lengthl==0 -> last entry. */

--- 50 unchanged lines hidden ---
115 * gre_sre defines a Source route Entry. These are needed if packets
116 * should be routed over more than one tunnel hop by hop
117 */
118struct gre_sre {
119 u_int16_t sre_family; /* adress family */
120 u_char sre_offset; /* offset to first octet of active entry */
121 u_char sre_length; /* number of octets in the SRE.
122 sre_lengthl==0 -> last entry. */

--- 50 unchanged lines hidden ---