123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- /*
- * Copyright (c) 2006 Aaron Turner
- * All rights reserved.
- *
- * This file is generated by scripts/dlt2name.pl which converts your pcap-bpf.h
- * header file which comes with libpcap into a header file
- * which translates DLT values to their string names as well as a list of all
- * of the available DLT types.
- *
- * Hence DO NOT EDIT THIS FILE!
- * If your DLT type is not listed here, edit the %known hash in
- * scripts/dlt2name.pl
- *
- * This file contains data which was taken from libpcap's pcap-bpf.h.
- * The copyright/license is included below:
- */
-
- /*-
- * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
- * The Regents of the University of California. All rights reserved.
- *
- * This code is derived from the Stanford/CMU enet packet filter,
- * (net/enet.c) distributed as part of 4.3BSD, and code contributed
- * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence
- * Berkeley Laboratory.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)bpf.h 7.1 (Berkeley) 5/7/91
- *
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34.2.6 2005/08/13 22:29:47 hannes Exp $ (LBL)
- */
- #include <stdlib.h>
- /* DLT to descriptions */
- char *dlt2desc[] = {
- "BSD loopback encapsulation",
- "Ethernet (10Mb)",
- "Experimental Ethernet (3Mb)",
- "Amateur Radio AX.25",
- "Proteon ProNET Token Ring",
- "Chaos",
- "IEEE 802 Networks",
- "ARCNET, with BSD-style header",
- "Serial Line IP",
- "Point-to-point Protocol",
- "FDDI",
- "LLC-encapsulated ATM",
- "raw IP",
- "BSD/OS Serial Line IP",
- "BSD/OS Point-to-point Protocol",
- "BSD/OS Serial Line IP",
- "BSD/OS Point-to-point Protocol",
- "",
- "",
- "Linux Classical-IP over ATM",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "PPP over serial with HDLC encapsulation",
- "PPP over Ethernet",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "",
- "Unknown",
- "Unknown",
- "Unknown",
- "Unknown",
- "Cisco HDLC",
- "IEEE 802.11 wireless",
- "Unknown",
- "BSD/OS Frame Relay",
- "OpenBSD Loopback",
- "",
- "Unknown",
- "Unknown",
- "Unknown",
- "Linux Cooked Sockets",
- "Apple LocalTalk",
- "Acorn Econet",
- "OpenBSD IPFilter",
- "OpenBSD PF Log/SuSE 6.3 LANE 802.3",
- "Cisco IOS",
- "802.11 Prism Header",
- "802.11 Aironet Header",
- "Siemens HiPath HDLC",
- "IP over Fibre Channel",
- "Solaris+SunATM",
- "RapidIO",
- "PCI Express",
- "Xilinx Aurora link layer",
- "802.11 plus radiotap radio header",
- "Tazmen Sniffer Protocol",
- "ARCNET",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "pseudo-header with various info, followed by MTP2",
- "MTP2, without pseudo-header",
- "MTP3, without pseudo-header or MTP2",
- "SCCP, without pseudo-header or MTP2 or MTP3",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "802.11 plus AVS radio header",
- "",
- "",
- "",
- "",
- "",
- "GPRS LLC",
- "GPF-T (ITU-T G.7041/Y.1303)",
- "GPF-F (ITU-T G.7041/Y.1303)",
- "",
- "",
- "",
- "Ethernet",
- "Packet-over-SONET",
- "",
- "",
- "",
- "",
- NULL
- };
|