dlt_names.c 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. /*
  2. * Copyright (c) 2006 Aaron Turner
  3. * All rights reserved.
  4. *
  5. * This file is generated by scripts/dlt2name.pl which converts your pcap-bpf.h
  6. * header file which comes with libpcap into a header file
  7. * which translates DLT values to their string names as well as a list of all
  8. * of the available DLT types.
  9. *
  10. * Hence DO NOT EDIT THIS FILE!
  11. * If your DLT type is not listed here, edit the %known hash in
  12. * scripts/dlt2name.pl
  13. *
  14. * This file contains data which was taken from libpcap's pcap-bpf.h.
  15. * The copyright/license is included below:
  16. */
  17. /*-
  18. * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
  19. * The Regents of the University of California. All rights reserved.
  20. *
  21. * This code is derived from the Stanford/CMU enet packet filter,
  22. * (net/enet.c) distributed as part of 4.3BSD, and code contributed
  23. * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence
  24. * Berkeley Laboratory.
  25. *
  26. * Redistribution and use in source and binary forms, with or without
  27. * modification, are permitted provided that the following conditions
  28. * are met:
  29. * 1. Redistributions of source code must retain the above copyright
  30. * notice, this list of conditions and the following disclaimer.
  31. * 2. Redistributions in binary form must reproduce the above copyright
  32. * notice, this list of conditions and the following disclaimer in the
  33. * documentation and/or other materials provided with the distribution.
  34. * 3. All advertising materials mentioning features or use of this software
  35. * must display the following acknowledgement:
  36. * This product includes software developed by the University of
  37. * California, Berkeley and its contributors.
  38. * 4. Neither the name of the University nor the names of its contributors
  39. * may be used to endorse or promote products derived from this software
  40. * without specific prior written permission.
  41. *
  42. * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  43. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  44. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  45. * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  46. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  47. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  48. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  49. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  50. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  51. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  52. * SUCH DAMAGE.
  53. *
  54. * @(#)bpf.h 7.1 (Berkeley) 5/7/91
  55. *
  56. * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34.2.6 2005/08/13 22:29:47 hannes Exp $ (LBL)
  57. */
  58. #include <stdlib.h>
  59. /* DLT to descriptions */
  60. char *dlt2desc[] = {
  61. "BSD loopback encapsulation",
  62. "Ethernet (10Mb)",
  63. "Experimental Ethernet (3Mb)",
  64. "Amateur Radio AX.25",
  65. "Proteon ProNET Token Ring",
  66. "Chaos",
  67. "IEEE 802 Networks",
  68. "ARCNET, with BSD-style header",
  69. "Serial Line IP",
  70. "Point-to-point Protocol",
  71. "FDDI",
  72. "LLC-encapsulated ATM",
  73. "raw IP",
  74. "BSD/OS Serial Line IP",
  75. "BSD/OS Point-to-point Protocol",
  76. "BSD/OS Serial Line IP",
  77. "BSD/OS Point-to-point Protocol",
  78. "",
  79. "",
  80. "Linux Classical-IP over ATM",
  81. "Unknown",
  82. "Unknown",
  83. "Unknown",
  84. "Unknown",
  85. "Unknown",
  86. "Unknown",
  87. "Unknown",
  88. "Unknown",
  89. "Unknown",
  90. "Unknown",
  91. "Unknown",
  92. "Unknown",
  93. "",
  94. "Unknown",
  95. "Unknown",
  96. "Unknown",
  97. "Unknown",
  98. "Unknown",
  99. "Unknown",
  100. "Unknown",
  101. "Unknown",
  102. "Unknown",
  103. "Unknown",
  104. "Unknown",
  105. "Unknown",
  106. "Unknown",
  107. "Unknown",
  108. "Unknown",
  109. "Unknown",
  110. "Unknown",
  111. "PPP over serial with HDLC encapsulation",
  112. "PPP over Ethernet",
  113. "Unknown",
  114. "Unknown",
  115. "Unknown",
  116. "Unknown",
  117. "Unknown",
  118. "Unknown",
  119. "Unknown",
  120. "Unknown",
  121. "Unknown",
  122. "Unknown",
  123. "Unknown",
  124. "Unknown",
  125. "Unknown",
  126. "Unknown",
  127. "Unknown",
  128. "Unknown",
  129. "Unknown",
  130. "Unknown",
  131. "Unknown",
  132. "Unknown",
  133. "Unknown",
  134. "Unknown",
  135. "Unknown",
  136. "Unknown",
  137. "Unknown",
  138. "Unknown",
  139. "Unknown",
  140. "Unknown",
  141. "Unknown",
  142. "Unknown",
  143. "Unknown",
  144. "Unknown",
  145. "Unknown",
  146. "Unknown",
  147. "Unknown",
  148. "Unknown",
  149. "Unknown",
  150. "Unknown",
  151. "Unknown",
  152. "Unknown",
  153. "Unknown",
  154. "Unknown",
  155. "Unknown",
  156. "Unknown",
  157. "Unknown",
  158. "Unknown",
  159. "Unknown",
  160. "",
  161. "Unknown",
  162. "Unknown",
  163. "Unknown",
  164. "Unknown",
  165. "Cisco HDLC",
  166. "IEEE 802.11 wireless",
  167. "Unknown",
  168. "BSD/OS Frame Relay",
  169. "OpenBSD Loopback",
  170. "",
  171. "Unknown",
  172. "Unknown",
  173. "Unknown",
  174. "Linux Cooked Sockets",
  175. "Apple LocalTalk",
  176. "Acorn Econet",
  177. "OpenBSD IPFilter",
  178. "OpenBSD PF Log/SuSE 6.3 LANE 802.3",
  179. "Cisco IOS",
  180. "802.11 Prism Header",
  181. "802.11 Aironet Header",
  182. "Siemens HiPath HDLC",
  183. "IP over Fibre Channel",
  184. "Solaris+SunATM",
  185. "RapidIO",
  186. "PCI Express",
  187. "Xilinx Aurora link layer",
  188. "802.11 plus radiotap radio header",
  189. "Tazmen Sniffer Protocol",
  190. "ARCNET",
  191. "",
  192. "",
  193. "",
  194. "",
  195. "",
  196. "",
  197. "",
  198. "",
  199. "",
  200. "pseudo-header with various info, followed by MTP2",
  201. "MTP2, without pseudo-header",
  202. "MTP3, without pseudo-header or MTP2",
  203. "SCCP, without pseudo-header or MTP2 or MTP3",
  204. "",
  205. "",
  206. "",
  207. "",
  208. "",
  209. "",
  210. "",
  211. "",
  212. "",
  213. "",
  214. "",
  215. "",
  216. "",
  217. "",
  218. "",
  219. "",
  220. "",
  221. "",
  222. "",
  223. "",
  224. "802.11 plus AVS radio header",
  225. "",
  226. "",
  227. "",
  228. "",
  229. "",
  230. "GPRS LLC",
  231. "GPF-T (ITU-T G.7041/Y.1303)",
  232. "GPF-F (ITU-T G.7041/Y.1303)",
  233. "",
  234. "",
  235. "",
  236. "Ethernet",
  237. "Packet-over-SONET",
  238. "",
  239. "",
  240. "",
  241. "",
  242. NULL
  243. };