Index: savefile.c =================================================================== RCS file: /tcpdump/master/libpcap/savefile.c,v retrieving revision 1.72 diff -u -6 -r1.72 savefile.c --- savefile.c 2002/12/22 23:05:53 1.72 +++ savefile.c 2002/12/24 17:23:39 @@ -163,12 +163,14 @@ #define LINKTYPE_CISCO_IOS 118 /* For Cisco-internal use */ #define LINKTYPE_PRISM_HEADER 119 /* 802.11+Prism II monitor mode */ #define LINKTYPE_AIRONET_HEADER 120 /* FreeBSD Aironet driver stuff */ #define LINKTYPE_IP_OVER_FC 122 /* RFC 2625 IP-over-Fibre Channel */ #define LINKTYPE_SUNATM 123 /* Solaris+SunATM */ + +#define LINKTYPE_TZSP 126 /* Tazmen Sniffer Protocol */ #define LINKTYPE_IEEE802_11_RADIO 127 /* 802.11 plus WLAN header */ /* * These types are reserved for future use. */ @@ -278,12 +280,15 @@ /* PCI Express */ { DLT_PCI_EXP, LINKTYPE_PCI_EXP }, /* Xilinx Aurora link layer */ { DLT_AURORA, LINKTYPE_AURORA }, + + /* Tazmen Sniffer Protocol */ + { DLT_TZSP, LINKTYPE_TZSP }, /* 802.11 plus WLAN header */ { DLT_IEEE802_11_RADIO, LINKTYPE_IEEE802_11_RADIO }, /* * Any platform that defines additional DLT_* codes should: Index: bpf/net/bpf.h =================================================================== RCS file: /tcpdump/master/libpcap/bpf/net/bpf.h,v retrieving revision 1.64 diff -u -6 -r1.64 bpf.h --- bpf.h 2002/12/11 22:43:32 1.64 +++ bpf.h 2002/12/24 17:23:40 @@ -368,24 +368,32 @@ /* * Reserved as per request from Kent Dahlgren * for private use. */ #define DLT_RIO 124 /* RapidIO */ #define DLT_PCI_EXP 125 /* PCI Express */ #define DLT_AURORA 126 /* Xilinx Aurora link layer */ /* * For future use with 802.11 captures - defined by AbsoluteValue * Systems to store a number of bits of link-layer information: * * http://www.shaftnet.org/~pizza/software/capturefrm.txt * * but could and arguably should also be used by non-AVS Linux * 802.11 drivers and BSD drivers; that may happen in the future. */ #define DLT_IEEE802_11_RADIO 127 /* 802.11 plus WLAN header */ + +/* + * Reserved for the TZSP encapsulation. TZSP is a generic + * encapsulation for any other link type, which includes + * a means to include meta-information with the packet, e.g. + * signal strength and channel for 802.11 packets. + */ +#define DLT_TZSP 128 /* Tazmen Sniffer Protocol */ /* * The instruction encodings. */ /* instruction classes */ #define BPF_CLASS(code) ((code) & 0x07)