From 4017783b36d229073bee725efc97f6ec65b1954d Mon Sep 17 00:00:00 2001 From: hannes Date: Wed, 18 Aug 2004 14:25:01 +0000 Subject: add support for another PPP variant as per request from Karsten Keil the first byte (0xff) of the PPP header (0xff03) is tweaked to accomodate the direction 0x00 = IN, 0x01 = OUT the DLT_ supports the libpcap tokens "inbound" and "outbound" --- pcap-bpf.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'pcap-bpf.h') diff --git a/pcap-bpf.h b/pcap-bpf.h index 4957988..c8c6a4e 100644 --- a/pcap-bpf.h +++ b/pcap-bpf.h @@ -37,7 +37,7 @@ * * @(#)bpf.h 7.1 (Berkeley) 5/7/91 * - * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.21 2004-06-07 20:00:08 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.22 2004-08-18 14:25:01 hannes Exp $ (LBL) */ /* @@ -509,6 +509,13 @@ struct bpf_version { */ #define DLT_BACNET_MS_TP 165 +/* + * another PPP variant as per request from Karsten Keil + * the first byte of the PPP header (0xff03) is modified to accomodate + * the direction 0x00 = IN, 0x01 = OUT + */ +#define DLT_PPP_WITHDIRECTION 166 + /* * The instruction encodings. */ -- cgit v1.2.3