]> The Tcpdump Group git mirrors - libpcap/commitdiff
From Gisle Vanem: add some new link-layer types to the "dlt_choices[]"
authorguy <guy>
Fri, 17 Dec 2004 19:55:41 +0000 (19:55 +0000)
committerguy <guy>
Fri, 17 Dec 2004 19:55:41 +0000 (19:55 +0000)
table.

Add some even newer ones that arrived after his patch.

pcap.c

diff --git a/pcap.c b/pcap.c
index eb4cd957f6b33e399d15055cc72424661efe738a..2b2b60a30c77689775ef7801ec4f4b636cbed3f4 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -33,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.76 2004-10-19 15:55:28 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.77 2004-12-17 19:55:41 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -354,6 +354,12 @@ static struct dlt_choice dlt_choices[] = {
         DLT_CHOICE(DLT_SYMANTEC_FIREWALL, "Symantec Firewall"),
         DLT_CHOICE(DLT_JUNIPER_ATM1, "Juniper ATM1 PIC"),
         DLT_CHOICE(DLT_JUNIPER_ATM2, "Juniper ATM2 PIC"),
+       DLT_CHOICE(DLT_PPP_WITHDIRECTION, "PPP with direction"),
+       DLT_CHOICE(DLT_JUNIPER_PPPOE, "Juniper PPPoE"),
+       DLT_CHOICE(DLT_JUNIPER_PPPOE_ATM, "Juniper PPPoE/ATM"),
+       DLT_CHOICE(DLT_GPRS_LLC, "GPRS LLC"),
+       DLT_CHOICE(DLT_GPF_T, "GPF-T"),
+       DLT_CHOICE(DLT_GPF_F, "GPF-F"),
        DLT_CHOICE_SENTINEL
 };