aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/libpcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-06-13 22:36:58 +0000
committerGerald Combs <gerald@wireshark.org>2007-06-13 22:36:58 +0000
commitd1a745f27b47ab4c7247c984eff543284012bba2 (patch)
tree8a506e8fa478ef9fae7313d51ba808a22c59180a /wiretap/libpcap.c
parente3fc848842ac6868cda63cae40ca41ee31e94bce (diff)
Add support for PPI (the Per-Packet Information header), described at
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf . svn path=/trunk/; revision=22094
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r--wiretap/libpcap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c
index c56f1d0d83..eced02cf8d 100644
--- a/wiretap/libpcap.c
+++ b/wiretap/libpcap.c
@@ -310,7 +310,7 @@ static const struct {
/*
* Linux "cooked mode" captures, used by the current CVS version
- * of libpcap
+ * of libpcap
* OR
* it could be a packet in Cisco's ERSPAN encapsulation which uses
* this number as well (why can't people stick to protocols when it
@@ -427,6 +427,8 @@ static const struct {
{ 188, WTAP_ENCAP_IEEE802_16_MAC_CPS },
/* USB packets with Linux-specified header */
{ 189, WTAP_ENCAP_USB_LINUX },
+ /* Per-Packet Information header */
+ { 192, WTAP_ENCAP_PPI },
/*
* To repeat: