Deleted Added
full compact
ng_pppoe.h (125028) ng_pppoe.h (127169)
1
2/*
3 * ng_pppoe.h
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
1
2/*
3 * ng_pppoe.h
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_pppoe.h 125028 2004-01-26 14:05:31Z harti $
39 * $FreeBSD: head/sys/netgraph/ng_pppoe.h 127169 2004-03-18 12:34:14Z dwmalone $
40 * $Whistle: ng_pppoe.h,v 1.7 1999/10/16 10:16:43 julian Exp $
41 */
42
43#ifndef _NETGRAPH_NG_PPPOE_H_
44#define _NETGRAPH_NG_PPPOE_H_
45
46/********************************************************************
47 * Netgraph hook constants etc.

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

161/* Tag identifiers */
162#if BYTE_ORDER == BIG_ENDIAN
163#define PTT_EOL (0x0000)
164#define PTT_SRV_NAME (0x0101)
165#define PTT_AC_NAME (0x0102)
166#define PTT_HOST_UNIQ (0x0103)
167#define PTT_AC_COOKIE (0x0104)
168#define PTT_VENDOR (0x0105)
40 * $Whistle: ng_pppoe.h,v 1.7 1999/10/16 10:16:43 julian Exp $
41 */
42
43#ifndef _NETGRAPH_NG_PPPOE_H_
44#define _NETGRAPH_NG_PPPOE_H_
45
46/********************************************************************
47 * Netgraph hook constants etc.

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

161/* Tag identifiers */
162#if BYTE_ORDER == BIG_ENDIAN
163#define PTT_EOL (0x0000)
164#define PTT_SRV_NAME (0x0101)
165#define PTT_AC_NAME (0x0102)
166#define PTT_HOST_UNIQ (0x0103)
167#define PTT_AC_COOKIE (0x0104)
168#define PTT_VENDOR (0x0105)
169#define PTT_RELAY_SID (0x0106)
169#define PTT_RELAY_SID (0x0110)
170#define PTT_SRV_ERR (0x0201)
171#define PTT_SYS_ERR (0x0202)
172#define PTT_GEN_ERR (0x0203)
173
174#define ETHERTYPE_PPPOE_DISC 0x8863 /* pppoe discovery packets */
175#define ETHERTYPE_PPPOE_SESS 0x8864 /* pppoe session packets */
176#define ETHERTYPE_PPPOE_STUPID_DISC 0x3c12 /* pppoe discovery packets 3com? */
177#define ETHERTYPE_PPPOE_STUPID_SESS 0x3c13 /* pppoe session packets 3com? */
178#else
179#define PTT_EOL (0x0000)
180#define PTT_SRV_NAME (0x0101)
181#define PTT_AC_NAME (0x0201)
182#define PTT_HOST_UNIQ (0x0301)
183#define PTT_AC_COOKIE (0x0401)
184#define PTT_VENDOR (0x0501)
170#define PTT_SRV_ERR (0x0201)
171#define PTT_SYS_ERR (0x0202)
172#define PTT_GEN_ERR (0x0203)
173
174#define ETHERTYPE_PPPOE_DISC 0x8863 /* pppoe discovery packets */
175#define ETHERTYPE_PPPOE_SESS 0x8864 /* pppoe session packets */
176#define ETHERTYPE_PPPOE_STUPID_DISC 0x3c12 /* pppoe discovery packets 3com? */
177#define ETHERTYPE_PPPOE_STUPID_SESS 0x3c13 /* pppoe session packets 3com? */
178#else
179#define PTT_EOL (0x0000)
180#define PTT_SRV_NAME (0x0101)
181#define PTT_AC_NAME (0x0201)
182#define PTT_HOST_UNIQ (0x0301)
183#define PTT_AC_COOKIE (0x0401)
184#define PTT_VENDOR (0x0501)
185#define PTT_RELAY_SID (0x0601)
185#define PTT_RELAY_SID (0x1001)
186#define PTT_SRV_ERR (0x0102)
187#define PTT_SYS_ERR (0x0202)
188#define PTT_GEN_ERR (0x0302)
189
190#define ETHERTYPE_PPPOE_DISC 0x6388 /* pppoe discovery packets */
191#define ETHERTYPE_PPPOE_SESS 0x6488 /* pppoe session packets */
192#define ETHERTYPE_PPPOE_STUPID_DISC 0x123c /* pppoe discovery packets 3com? */
193#define ETHERTYPE_PPPOE_STUPID_SESS 0x133c /* pppoe session packets 3com? */

--- 59 unchanged lines hidden ---
186#define PTT_SRV_ERR (0x0102)
187#define PTT_SYS_ERR (0x0202)
188#define PTT_GEN_ERR (0x0302)
189
190#define ETHERTYPE_PPPOE_DISC 0x6388 /* pppoe discovery packets */
191#define ETHERTYPE_PPPOE_SESS 0x6488 /* pppoe session packets */
192#define ETHERTYPE_PPPOE_STUPID_DISC 0x123c /* pppoe discovery packets 3com? */
193#define ETHERTYPE_PPPOE_STUPID_SESS 0x133c /* pppoe session packets 3com? */

--- 59 unchanged lines hidden ---