aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-02 21:29:15 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-02 21:29:15 +0000
commitaa06c53ff4c1e4510aa141135abb5551076df7bb (patch)
treeb873c3753a60d9f5661e40b9229d27105ac9739a /capture-wpcap.c
parent4fa3d0a550c11bf22fe4c3688ce21c89937a640c (diff)
from Daniele Orlandi:
The attached patch adds support for LAPD frames captured using vISDN thru libpcap. The support has already been included in libpcap. The patch adds a new wiretap encapsulation, the necessary glue to decode SLL-encapsulated frames, and some minor change in the LAPD dissector in order to support the remote-to-remote frames captured on the ISDN E-Channel. Please apply ethereal-encap-table.diff before, as it fixes a misalignment in the encapsulation names table. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17451 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r--capture-wpcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c
index b61b6c0e23..5d0902bb2c 100644
--- a/capture-wpcap.c
+++ b/capture-wpcap.c
@@ -359,6 +359,9 @@ static struct dlt_choice dlt_choices[] = {
#ifdef DLT_LINUX_IRDA
DLT_CHOICE(DLT_LINUX_IRDA, "Linux IrDA"),
#endif
+#ifdef DLT_LINUX_LAPD
+ DLT_CHOICE(DLT_LINUX_LAPD, "Linux vISDN LAPD"),
+#endif
#ifdef DLT_LANE8023
DLT_CHOICE(DLT_LANE8023, "Linux 802.3 LANE"),
#endif