diff options
-rw-r--r-- | pcap-bpf.h | 9 | ||||
-rw-r--r-- | savefile.c | 12 |
2 files changed, 19 insertions, 2 deletions
@@ -37,7 +37,7 @@ * * @(#)bpf.h 7.1 (Berkeley) 5/7/91 * - * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.28 2004-12-18 08:52:10 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.29 2005-01-11 11:02:08 guy Exp $ (LBL) */ /* @@ -536,6 +536,13 @@ struct bpf_version { #define DLT_GPF_F 171 /* GPF-F (ITU-T G.7041/Y.1303) */ /* + * Requested by Oolan Zimmer <oz@gcom.com> for use in Gcom's T1/E1 line + * monitoring equipment. + */ +#define DLT_GCOM_T1E1 172 +#define DLT_GCOM_SERIAL 173 + +/* * The instruction encodings. */ /* instruction classes */ @@ -30,7 +30,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.121 2005-01-07 11:21:01 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.122 2005-01-11 11:02:08 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -372,6 +372,13 @@ static const char rcsid[] _U_ = #define LINKTYPE_GPF_T 170 /* GPF-T (ITU-T G.7041/Y.1303) */ #define LINKTYPE_GPF_F 171 /* GPF-T (ITU-T G.7041/Y.1303) */ +/* + * Requested by Oolan Zimmer <oz@gcom.com> for use in Gcom's T1/E1 line + * monitoring equipment. + */ +#define LINKTYPE_GCOM_T1E1 172 +#define LINKTYPE_GCOM_SERIAL 173 + static struct linktype_map { int dlt; int linktype; @@ -552,6 +559,9 @@ static struct linktype_map { /* Framed Generic Framing Procedure (ITU-T G.7041/Y.1303) */ { DLT_GPF_F, LINKTYPE_GPF_F }, + { DLT_GCOM_T1E1, LINKTYPE_GCOM_T1E1 }, + { DLT_GCOM_SERIAL, LINKTYPE_GCOM_SERIAL }, + { -1, -1 } }; |