Hoist a bunch of stuff that should be done by all if_print routines into
tcpdump.c.  Have if_print routines return the length of the link-layer
header, so that the common code knows how to skip the link-layer header
when printing the packet in hex/ASCII.
22 files changed
tree: fcb53f0e4e3a5749d84858f128e7f6c7e352c23e
  1. lbl/
  2. missing/
  3. win32/
  4. .cvsignore
  5. acconfig.h
  6. aclocal.m4
  7. addrtoname.c
  8. addrtoname.h
  9. ah.h
  10. appletalk.h
  11. arcnet.h
  12. atime.awk
  13. atm.h
  14. atmuni31.h
  15. bootp.h
  16. bpf_dump.c
  17. CHANGES
  18. chdlc.h
  19. config.guess
  20. config.h.in
  21. config.sub
  22. configure
  23. configure.in
  24. CREDITS
  25. decnet.h
  26. esp.h
  27. ether.h
  28. ethertype.h
  29. extract.h
  30. fddi.h
  31. FILES
  32. gmt2local.c
  33. gmt2local.h
  34. icmp6.h
  35. ieee802_11.h
  36. igrp.h
  37. INSTALL
  38. install-sh
  39. interface.h
  40. ip.h
  41. ip6.h
  42. ipfc.h
  43. ipsec_doi.h
  44. ipx.h
  45. isakmp.h
  46. l2tp.h
  47. lane.h
  48. LICENSE
  49. llc.h
  50. machdep.c
  51. machdep.h
  52. Makefile-devel-adds
  53. Makefile.in
  54. makemib
  55. mib.h
  56. mkdep
  57. nameser.h
  58. netbios.h
  59. nfs.h
  60. nfsfh.h
  61. ntp.h
  62. oakley.h
  63. ospf.h
  64. ospf6.h
  65. packetdat.awk
  66. parsenfsfh.c
  67. pcap-missing.h
  68. PLATFORMS
  69. ppp.h
  70. print-802_11.c
  71. print-ah.c
  72. print-arcnet.c
  73. print-arp.c
  74. print-ascii.c
  75. print-atalk.c
  76. print-atm.c
  77. print-beep.c
  78. print-bgp.c
  79. print-bootp.c
  80. print-cdp.c
  81. print-chdlc.c
  82. print-cip.c
  83. print-cnfp.c
  84. print-decnet.c
  85. print-dhcp6.c
  86. print-domain.c
  87. print-dvmrp.c
  88. print-egp.c
  89. print-esp.c
  90. print-ether.c
  91. print-fddi.c
  92. print-fr.c
  93. print-frag6.c
  94. print-gre.c
  95. print-hsrp.c
  96. print-icmp.c
  97. print-icmp6.c
  98. print-igmp.c
  99. print-igrp.c
  100. print-ip.c
  101. print-ip6.c
  102. print-ip6opts.c
  103. print-ipcomp.c
  104. print-ipfc.c
  105. print-ipx.c
  106. print-isakmp.c
  107. print-isoclns.c
  108. print-krb.c
  109. print-l2tp.c
  110. print-lane.c
  111. print-ldp.c
  112. print-llc.c
  113. print-lwres.c
  114. print-mobile.c
  115. print-mobility.c
  116. print-mpls.c
  117. print-msdp.c
  118. print-netbios.c
  119. print-nfs.c
  120. print-ntp.c
  121. print-null.c
  122. print-ospf.c
  123. print-ospf6.c
  124. print-pflog.c
  125. print-pim.c
  126. print-ppp.c
  127. print-pppoe.c
  128. print-pptp.c
  129. print-radius.c
  130. print-raw.c
  131. print-rip.c
  132. print-ripng.c
  133. print-rsvp.c
  134. print-rt6.c
  135. print-rx.c
  136. print-sctp.c
  137. print-sl.c
  138. print-sll.c
  139. print-smb.c
  140. print-snmp.c
  141. print-stp.c
  142. print-sunatm.c
  143. print-sunrpc.c
  144. print-tcp.c
  145. print-telnet.c
  146. print-tftp.c
  147. print-timed.c
  148. print-token.c
  149. print-udp.c
  150. print-vjc.c
  151. print-vrrp.c
  152. print-wb.c
  153. print-zephyr.c
  154. README
  155. Readme.Win32
  156. route6d.h
  157. rx.h
  158. sctpConstants.h
  159. sctpHeader.h
  160. send-ack.awk
  161. setsignal.c
  162. setsignal.h
  163. slcompress.h
  164. slip.h
  165. sll.h
  166. smb.h
  167. smbutil.c
  168. stime.awk
  169. strcasecmp.c
  170. tcp.h
  171. tcpdump-stdinc.h
  172. tcpdump.1
  173. tcpdump.c
  174. telnet.h
  175. timed.h
  176. TODO
  177. token.h
  178. udp.h
  179. util.c
  180. VERSION
  181. vfprintf.c