Get rid of unnecessary includes, and use tcpdump's "ip.h" and "udp.h"
rather than the OS's <netinet/ip.h> and <netinet/udp.h>.

As per Bill Fenner's suggestion, print single-byte 2-digit hex values
with "%02X" rather than manually pulling the nibbles out of the byte and
converting them.
1 file changed
tree: a105215bd7a641455624b37e76ab13a993fa4e64
  1. lbl/
  2. linux-include/
  3. missing/
  4. .cvsignore
  5. acconfig.h
  6. aclocal.m4
  7. addrtoname.c
  8. addrtoname.h
  9. ah.h
  10. appletalk.h
  11. atime.awk
  12. bootp.h
  13. CHANGES
  14. chdlc.h
  15. config.guess
  16. config.h.in
  17. config.sub
  18. configure
  19. configure.in
  20. CREDITS
  21. decnet.h
  22. dhcp6.h
  23. dhcp6opt.h
  24. esp.h
  25. ether.h
  26. ethertype.h
  27. extract.h
  28. fddi.h
  29. FILES
  30. gmt2local.c
  31. gmt2local.h
  32. icmp6.h
  33. igrp.h
  34. INSTALL
  35. install-sh
  36. interface.h
  37. ip.h
  38. ip6.h
  39. ipsec_doi.h
  40. ipx.h
  41. isakmp.h
  42. l2tp.h
  43. lane.h
  44. llc.h
  45. machdep.c
  46. machdep.h
  47. Makefile-devel-adds
  48. Makefile.in
  49. makemib
  50. mib.h
  51. mkdep
  52. nameser.h
  53. netbios.h
  54. nfs.h
  55. nfsfh.h
  56. ntp.h
  57. oakley.h
  58. ospf.h
  59. ospf6.h
  60. packetdat.awk
  61. parsenfsfh.c
  62. ppp.h
  63. print-ah.c
  64. print-arp.c
  65. print-ascii.c
  66. print-atalk.c
  67. print-atm.c
  68. print-bgp.c
  69. print-bootp.c
  70. print-bxxp.c
  71. print-cdp.c
  72. print-chdlc.c
  73. print-cip.c
  74. print-cnfp.c
  75. print-decnet.c
  76. print-dhcp6.c
  77. print-domain.c
  78. print-dvmrp.c
  79. print-egp.c
  80. print-esp.c
  81. print-ether.c
  82. print-fddi.c
  83. print-frag6.c
  84. print-gre.c
  85. print-icmp.c
  86. print-icmp6.c
  87. print-igrp.c
  88. print-ip.c
  89. print-ip6.c
  90. print-ip6opts.c
  91. print-ipcomp.c
  92. print-ipx.c
  93. print-isakmp.c
  94. print-isoclns.c
  95. print-krb.c
  96. print-l2tp.c
  97. print-lane.c
  98. print-lcp.c
  99. print-llc.c
  100. print-mobile.c
  101. print-netbios.c
  102. print-nfs.c
  103. print-ntp.c
  104. print-null.c
  105. print-ospf.c
  106. print-ospf6.c
  107. print-pim.c
  108. print-ppp.c
  109. print-pppoe.c
  110. print-radius.c
  111. print-raw.c
  112. print-rip.c
  113. print-ripng.c
  114. print-rt6.c
  115. print-rx.c
  116. print-sl.c
  117. print-smb.c
  118. print-snmp.c
  119. print-stp.c
  120. print-sunrpc.c
  121. print-tcp.c
  122. print-telnet.c
  123. print-tftp.c
  124. print-timed.c
  125. print-token.c
  126. print-udp.c
  127. print-vjc.c
  128. print-vrrp.c
  129. print-wb.c
  130. README
  131. route6d.h
  132. rx.h
  133. savestr.c
  134. savestr.h
  135. send-ack.awk
  136. setsignal.c
  137. setsignal.h
  138. smb.h
  139. smbutil.c
  140. stime.awk
  141. strcasecmp.c
  142. tcp.h
  143. tcpdump.1
  144. tcpdump.c
  145. timed.h
  146. TODO
  147. token.h
  148. udp.h
  149. util.c
  150. VERSION
  151. vfprintf.c