diff options
author | hannes <hannes> | 2007-09-10 20:17:18 +0000 |
---|---|---|
committer | hannes <hannes> | 2007-09-10 20:17:18 +0000 |
commit | 18341fc1b5de422210f1c1792cdccdc05428195f (patch) | |
tree | 7d747132c365ff26b2b065ffd1f869f4c407ae44 /savefile.c | |
parent | 266b20f3d4bc6ae55ea9742eadb8fbe40c6b7750 (diff) |
allocate DLT_JUNIPER_ST as per request from Hannes Gredler <hannes@juniper.net>
Diffstat (limited to 'savefile.c')
-rw-r--r-- | savefile.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -30,7 +30,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.162 2007-08-14 20:56:01 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.163 2007-09-10 20:17:18 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -552,6 +552,13 @@ static const char rcsid[] _U_ = */ #define LINKTYPE_IPMB 199 +/* + * Juniper-private data link type, as per request from + * Hannes Gredler <hannes@juniper.net>. + * The DLT_ is used for capturing data on a secure tunnel interface. + */ +#define LINKTYPE_JUNIPER_ST 200 + static struct linktype_map { int dlt; @@ -812,6 +819,10 @@ static struct linktype_map { /* IPMB */ { DLT_IPMB, LINKTYPE_IPMB }, + /* Juniper Secure Tunnel */ + { DLT_JUNIPER_ST, LINKTYPE_JUNIPER_ST }, + + { -1, -1 } }; |