aboutsummaryrefslogtreecommitdiffstats
path: root/capture-wpcap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-03-02 21:29:15 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-03-02 21:29:15 +0000
commit9951fc2cff28d0ad7c15ae71170a8d3b2eb8b17d (patch)
treeb873c3753a60d9f5661e40b9229d27105ac9739a /capture-wpcap.c
parent497e0ec77505e2dbf04e7bb5b822cbc713aa03d6 (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. svn path=/trunk/; revision=17451
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