aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhannes <hannes>2003-04-28 08:20:24 +0000
committerhannes <hannes>2003-04-28 08:20:24 +0000
commit7fcfe91807245aa2fc534ad88791da8e6806801e (patch)
treecc96bcaf8cca29d62a23e010134e03a503bd0e78
parent27a1815f96abeb28e5b04f52d066cfd7f9bc48ce (diff)
allocate a DLT_ and LINKTYPE_ for Juniper-internal chassis encapsulation
-rw-r--r--pcap-bpf.h3
-rw-r--r--savefile.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 9e2ac79..a9cd35f 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.6 2003-03-11 06:23:53 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.7 2003-04-28 08:20:24 hannes Exp $ (LBL)
*/
/*
@@ -375,6 +375,7 @@ struct bpf_version {
#define DLT_JUNIPER_MFR 134
#define DLT_JUNIPER_ATM2 135
#define DLT_JUNIPER_SERVICES 136
+#define DLT_JUNIPER_ATM1 137
/*
* The instruction encodings.
diff --git a/savefile.c b/savefile.c
index ebb4ec2..976070c 100644
--- a/savefile.c
+++ b/savefile.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.79 2003-04-09 09:55:20 risso Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.80 2003-04-28 08:20:25 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -182,6 +182,7 @@ static const char rcsid[] =
#define LINKTYPE_JUNIPER_MFR 134
#define LINKTYPE_JUNIPER_ATM2 135
#define LINKTYPE_JUNIPER_SERVICES 136
+#define LINKTYPE_JUNIPER_ATM1 137
/*
* These types are reserved for future use.
@@ -314,6 +315,7 @@ static struct linktype_map {
{ DLT_JUNIPER_MFR, LINKTYPE_JUNIPER_MFR },
{ DLT_JUNIPER_ATM2, LINKTYPE_JUNIPER_ATM2 },
{ DLT_JUNIPER_SERVICES, LINKTYPE_JUNIPER_SERVICES },
+ { DLT_JUNIPER_ATM1, LINKTYPE_JUNIPER_ATM1 },
/*
* Any platform that defines additional DLT_* codes should: