aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorguy <guy>2007-08-07 23:51:53 +0000
committerguy <guy>2007-08-07 23:51:53 +0000
commitc3ced24e7e5718e91c8c1dadc052cf663de34a9f (patch)
treed65ce4a0592c1f6e5741f0f766bc177b37d4b4dc /savefile.c
parentc3323f3bc5086fcf1dbf0f2e24f2f8db94e1e6c0 (diff)
DLT_ERF, for encapsulating Endace ERF records and packet data for
various link-layer types.
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index 1b40fd8..0cec20a 100644
--- a/savefile.c
+++ b/savefile.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.159 2007-07-19 06:19:54 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.160 2007-08-07 23:51:53 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -531,6 +531,13 @@ static const char rcsid[] _U_ =
*/
#define LINKTYPE_SITA 196
+/*
+ * Various link-layer types, with a pseudo-header, for Endace DAG cards;
+ * encapsulates Endace ERF records. Requested by Stephen Donnelly
+ * <stephen@endace.com>.
+ */
+#define LINKTYPE_ERF 197
+
static struct linktype_map {
int dlt;
@@ -782,6 +789,9 @@ static struct linktype_map {
/* Various link-layer types for SITA */
{ DLT_SITA, LINKTYPE_SITA },
+ /* Various link-layer types for Endace */
+ { DLT_ERF, LINKTYPE_ERF },
+
{ -1, -1 }
};