aboutsummaryrefslogtreecommitdiff
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorhannes <hannes>2004-08-18 14:25:01 +0000
committerhannes <hannes>2004-08-18 14:25:01 +0000
commit4017783b36d229073bee725efc97f6ec65b1954d (patch)
treeec7feace58de9f4fb8c5c99258da474eecb155fc /pcap-bpf.h
parent3f7430de17769c05317166cb5fb8ab4e076f5755 (diff)
add support for another PPP variant as per request from Karsten Keil <kkeil@suse.de>
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"
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 49579887..c8c6a4e9 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)
*/
/*
@@ -510,6 +510,13 @@ struct bpf_version {
#define DLT_BACNET_MS_TP 165
/*
+ * another PPP variant as per request from Karsten Keil <kkeil@suse.de>
+ * 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.
*/
/* instruction classes */