From c1401d47257475f7c1e0b63da7e5e7dfa37cefe0 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 8 Feb 2005 19:52:18 +0000 Subject: The DLT_LINUX_PPP_WITHDIRECTION is also used for pppd on some BSDs, so rename it again to DLT_PPP_PPPD, and rename other #defines to match. Add backwards-compatibility #defines of DLT_PPP_WITH_DIRECTION and DLT_LINUX_PPP_WITHDIRECTION for software that used them. --- ppp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ppp.h') diff --git a/ppp.h b/ppp.h index 327c8903..4e1d08de 100644 --- a/ppp.h +++ b/ppp.h @@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/libpcap/ppp.h,v 1.11 2005-01-31 01:47:28 guy Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/libpcap/ppp.h,v 1.12 2005-02-08 19:52:19 guy Exp $ (LBL) */ /* * Point to Point Protocol (PPP) RFC1331 * @@ -18,8 +18,8 @@ #define PPP_ADDRESS 0xff /* The address byte value */ #define PPP_CONTROL 0x03 /* The control byte value */ -#define LINUX_PPP_WITHDIRECTION_IN 0x00 /* non-standard for DLT_LINUX_PPP_WITHDIRECTION */ -#define LINUX_PPP_WITHDIRECTION_OUT 0x01 /* non-standard for DLT_LINUX_PPP_WITHDIRECTION */ +#define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */ +#define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */ /* Protocol numbers */ #define PPP_IP 0x0021 /* Raw IP */ -- cgit v1.2.3