Deleted Added
full compact
ppp.h (146778) ppp.h (162021)
1/* @(#) $Header: /tcpdump/master/tcpdump/ppp.h,v 1.16 2004/10/20 16:14:16 hannes Exp $ (LBL) */
2/*
3 * Point to Point Protocol (PPP) RFC1331
4 *
5 * Copyright 1989 by Carnegie Mellon.
6 *
7 * Permission to use, copy, modify, and distribute this program for any
8 * purpose and without fee is hereby granted, provided that this copyright
9 * and permission notice appear on all copies and supporting documentation,
10 * the name of Carnegie Mellon not be used in advertising or publicity
11 * pertaining to distribution of the program without specific prior
12 * permission, and notice be given in supporting documentation that copying
13 * and distribution is by permission of Carnegie Mellon and Stanford
14 * University. Carnegie Mellon makes no representations about the
15 * suitability of this software for any purpose. It is provided "as is"
16 * without express or implied warranty.
17 *
1/* @(#) $Header: /tcpdump/master/tcpdump/ppp.h,v 1.16 2004/10/20 16:14:16 hannes Exp $ (LBL) */
2/*
3 * Point to Point Protocol (PPP) RFC1331
4 *
5 * Copyright 1989 by Carnegie Mellon.
6 *
7 * Permission to use, copy, modify, and distribute this program for any
8 * purpose and without fee is hereby granted, provided that this copyright
9 * and permission notice appear on all copies and supporting documentation,
10 * the name of Carnegie Mellon not be used in advertising or publicity
11 * pertaining to distribution of the program without specific prior
12 * permission, and notice be given in supporting documentation that copying
13 * and distribution is by permission of Carnegie Mellon and Stanford
14 * University. Carnegie Mellon makes no representations about the
15 * suitability of this software for any purpose. It is provided "as is"
16 * without express or implied warranty.
17 *
18 * $FreeBSD: head/contrib/tcpdump/ppp.h 146778 2005-05-29 19:09:28Z sam $
18 * $FreeBSD: head/contrib/tcpdump/ppp.h 162021 2006-09-04 20:25:04Z sam $
19 */
20#define PPP_HDRLEN 4 /* length of PPP header */
21
19 */
20#define PPP_HDRLEN 4 /* length of PPP header */
21
22#undef PPP_ADDRESS
23#define PPP_ADDRESS 0xff /* The address byte value */
22#define PPP_ADDRESS 0xff /* The address byte value */
24#undef PPP_CONTROL
25#define PPP_CONTROL 0x03 /* The control byte value */
26
27#define PPP_WITHDIRECTION_IN 0x00 /* non-standard for DLT_PPP_WITHDIRECTION */
28#define PPP_WITHDIRECTION_OUT 0x01 /* non-standard for DLT_PPP_WITHDIRECTION */
29
30/* Protocol numbers */
23#define PPP_CONTROL 0x03 /* The control byte value */
24
25#define PPP_WITHDIRECTION_IN 0x00 /* non-standard for DLT_PPP_WITHDIRECTION */
26#define PPP_WITHDIRECTION_OUT 0x01 /* non-standard for DLT_PPP_WITHDIRECTION */
27
28/* Protocol numbers */
31#ifndef PPP_IP
32#define PPP_IP 0x0021 /* Raw IP */
29#define PPP_IP 0x0021 /* Raw IP */
33#endif
34#define PPP_OSI 0x0023 /* OSI Network Layer */
35#define PPP_NS 0x0025 /* Xerox NS IDP */
36#define PPP_DECNET 0x0027 /* DECnet Phase IV */
37#define PPP_APPLE 0x0029 /* Appletalk */
30#define PPP_OSI 0x0023 /* OSI Network Layer */
31#define PPP_NS 0x0025 /* Xerox NS IDP */
32#define PPP_DECNET 0x0027 /* DECnet Phase IV */
33#define PPP_APPLE 0x0029 /* Appletalk */
38#ifndef PPP_IPX
39#define PPP_IPX 0x002b /* Novell IPX */
34#define PPP_IPX 0x002b /* Novell IPX */
40#endif
41#define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */
42#define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */
43#define PPP_BRPDU 0x0031 /* Bridging PDU */
44#define PPP_STII 0x0033 /* Stream Protocol (ST-II) */
45#define PPP_VINES 0x0035 /* Banyan Vines */
46#define PPP_ML 0x003d /* Multi-Link PPP */
47#define PPP_IPV6 0x0057 /* IPv6 */
48#define PPP_COMP 0x00fd /* Compressed Datagram */

--- 31 unchanged lines hidden ---
35#define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */
36#define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */
37#define PPP_BRPDU 0x0031 /* Bridging PDU */
38#define PPP_STII 0x0033 /* Stream Protocol (ST-II) */
39#define PPP_VINES 0x0035 /* Banyan Vines */
40#define PPP_ML 0x003d /* Multi-Link PPP */
41#define PPP_IPV6 0x0057 /* IPv6 */
42#define PPP_COMP 0x00fd /* Compressed Datagram */

--- 31 unchanged lines hidden ---