<
[email protected]>.
Propagate from the main branch:
revision 1.56
date: 2002/01/25 08:27:33; author: guy; state: Exp; lines: +5 -1
Link-layer type 121 reserved for Siemens HiPath HDLC, as per a request
from Tomas Kukosa <
[email protected]>.
so that the x.7 branch has all the reserved LINKTYPE_ values in it (to
remind people who might be tempted to steal those values for their own
purposes that those values are unavailable).
#ifndef lint
static const char rcsid[] =
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.56 2002-01-25 08:27:33 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.55.2.1 2002-03-08 11:28:03 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
#define LINKTYPE_IPFILTER 116 /* IP Filter capture files */
#define LINKTYPE_PFLOG 117 /* OpenBSD DLT_PFLOG */
#define LINKTYPE_HHDLC 121 /* Siemens HiPath HDLC */
#define LINKTYPE_IPFILTER 116 /* IP Filter capture files */
#define LINKTYPE_PFLOG 117 /* OpenBSD DLT_PFLOG */
#define LINKTYPE_HHDLC 121 /* Siemens HiPath HDLC */
+#define LINKTYPE_FC 122 /* Fibre Channel */
static struct linktype_map {
int dlt;
static struct linktype_map {
int dlt;
/* Siemens HiPath HDLC */
{ DLT_HHDLC, LINKTYPE_HHDLC },
/* Siemens HiPath HDLC */
{ DLT_HHDLC, LINKTYPE_HHDLC },
+ /* Fibre Channel */
+ { DLT_FC, LINKTYPE_FC },
+
/*
* Any platform that defines additional DLT_* codes should:
*
/*
* Any platform that defines additional DLT_* codes should:
*