When printing a list of link-layer types for -L, give the name of the
device for which they're being reported, so if no -i flag was given
people don't think it's something such as the union of of all link-layer
types supported by all devices, and, if we can determine whether the
device supports monitor mode (with libpcap 1.0.0 and later), indicate
whether the link-layer types are the ones supported when not in monitor
mode (if -I wasn't specified) or when in monitor mode (if -I was
specified), so people don't wonder why some types aren't available (as
some are available only in monitor mode, and others are available only
when not in monitor mode, on some platforms).
1 file changed
tree: 3d742eb497d1281b5740fcbb7fdda2d298916533
  1. lbl/
  2. missing/
  3. tests/
  4. win32/
  5. .cvsignore
  6. .gitignore
  7. acconfig.h
  8. aclocal.m4
  9. addrtoname.c
  10. addrtoname.h
  11. af.c
  12. af.h
  13. ah.h
  14. aodv.h
  15. appletalk.h
  16. arcnet.h
  17. atime.awk
  18. atm.h
  19. atmuni31.h
  20. bgp.h
  21. bootp.h
  22. bpf_dump.c
  23. CHANGES
  24. chdlc.h
  25. checksum.c
  26. config.guess
  27. config.h.in
  28. config.sub
  29. configure
  30. configure.in
  31. cpack.c
  32. cpack.h
  33. CREDITS
  34. dccp.h
  35. decnet.h
  36. decode_prefix.h
  37. enc.h
  38. esp.h
  39. ether.h
  40. ethertype.h
  41. extract.h
  42. fddi.h
  43. gmpls.c
  44. gmpls.h
  45. gmt2local.c
  46. gmt2local.h
  47. icmp6.h
  48. ieee802_11.h
  49. ieee802_11_radio.h
  50. igrp.h
  51. install-sh
  52. INSTALL.txt
  53. interface.h
  54. ip.h
  55. ip6.h
  56. ipfc.h
  57. ipnet.h
  58. ipproto.c
  59. ipproto.h
  60. ipsec_doi.h
  61. ipx.h
  62. isakmp.h
  63. l2tp.h
  64. l2vpn.c
  65. l2vpn.h
  66. lane.h
  67. LICENSE
  68. llc.h
  69. machdep.c
  70. machdep.h
  71. Makefile-devel-adds
  72. Makefile.in
  73. makemib
  74. mib.h
  75. mkdep
  76. mpls.h
  77. nameser.h
  78. netbios.h
  79. netdissect.h
  80. nfs.h
  81. nfsfh.h
  82. nlpid.c
  83. nlpid.h
  84. ntp.h
  85. oakley.h
  86. ospf.h
  87. ospf6.h
  88. oui.c
  89. oui.h
  90. packetdat.awk
  91. parsenfsfh.c
  92. pcap-missing.h
  93. pcap_dump_ftell.c
  94. PLATFORMS
  95. pmap_prot.h
  96. ppp.h
  97. print-802_11.c
  98. print-ah.c
  99. print-aodv.c
  100. print-ap1394.c
  101. print-arcnet.c
  102. print-arp.c
  103. print-ascii.c
  104. print-atalk.c
  105. print-atm.c
  106. print-beep.c
  107. print-bfd.c
  108. print-bgp.c
  109. print-bootp.c
  110. print-bt.c
  111. print-cdp.c
  112. print-cfm.c
  113. print-chdlc.c
  114. print-cip.c
  115. print-cnfp.c
  116. print-dccp.c
  117. print-decnet.c
  118. print-dhcp6.c
  119. print-domain.c
  120. print-dtp.c
  121. print-dvmrp.c
  122. print-eap.c
  123. print-egp.c
  124. print-eigrp.c
  125. print-enc.c
  126. print-esp.c
  127. print-ether.c
  128. print-fddi.c
  129. print-fr.c
  130. print-frag6.c
  131. print-gre.c
  132. print-hsrp.c
  133. print-icmp.c
  134. print-icmp6.c
  135. print-igmp.c
  136. print-igrp.c
  137. print-ip.c
  138. print-ip6.c
  139. print-ip6opts.c
  140. print-ipcomp.c
  141. print-ipfc.c
  142. print-ipnet.c
  143. print-ipx.c
  144. print-isakmp.c
  145. print-isoclns.c
  146. print-juniper.c
  147. print-krb.c
  148. print-l2tp.c
  149. print-lane.c
  150. print-ldp.c
  151. print-llc.c
  152. print-lldp.c
  153. print-lmp.c
  154. print-lspping.c
  155. print-lwapp.c
  156. print-lwres.c
  157. print-mobile.c
  158. print-mobility.c
  159. print-mpcp.c
  160. print-mpls.c
  161. print-msdp.c
  162. print-netbios.c
  163. print-nfs.c
  164. print-ntp.c
  165. print-null.c
  166. print-olsr.c
  167. print-ospf.c
  168. print-ospf6.c
  169. print-pflog.c
  170. print-pgm.c
  171. print-pim.c
  172. print-ppp.c
  173. print-pppoe.c
  174. print-pptp.c
  175. print-radius.c
  176. print-raw.c
  177. print-rip.c
  178. print-ripng.c
  179. print-rrcp.c
  180. print-rsvp.c
  181. print-rt6.c
  182. print-rx.c
  183. print-sctp.c
  184. print-sflow.c
  185. print-sip.c
  186. print-sl.c
  187. print-sll.c
  188. print-slow.c
  189. print-smb.c
  190. print-snmp.c
  191. print-stp.c
  192. print-sunatm.c
  193. print-sunrpc.c
  194. print-symantec.c
  195. print-syslog.c
  196. print-tcp.c
  197. print-telnet.c
  198. print-tftp.c
  199. print-timed.c
  200. print-token.c
  201. print-udld.c
  202. print-udp.c
  203. print-usb.c
  204. print-vjc.c
  205. print-vqp.c
  206. print-vrrp.c
  207. print-vtp.c
  208. print-wb.c
  209. print-zephyr.c
  210. README
  211. Readme.Win32
  212. route6d.h
  213. rpc_auth.h
  214. rpc_msg.h
  215. rx.h
  216. sctpConstants.h
  217. sctpHeader.h
  218. send-ack.awk
  219. setsignal.c
  220. setsignal.h
  221. signature.c
  222. signature.h
  223. slcompress.h
  224. slip.h
  225. sll.h
  226. smb.h
  227. smbutil.c
  228. stime.awk
  229. strcasecmp.c
  230. tcp.h
  231. tcpdump-stdinc.h
  232. tcpdump.1.in
  233. tcpdump.c
  234. telnet.h
  235. tftp.h
  236. timed.h
  237. TODO
  238. token.h
  239. udp.h
  240. util.c
  241. VERSION
  242. vfprintf.c