Use the passed in length instead of the IP header's length in the
 pseudo-header checksum, to allow for IPSEC or other encapsulations.
Use in_cksum() instead of private versions.
3 files changed
tree: a46724eb59cc01401ac5267b468083ad70efe871
  1. lbl/
  2. missing/
  3. .cvsignore
  4. acconfig.h
  5. aclocal.m4
  6. addrtoname.c
  7. addrtoname.h
  8. ah.h
  9. appletalk.h
  10. arcnet.h
  11. atime.awk
  12. bootp.h
  13. bpf_dump.c
  14. CHANGES
  15. chdlc.h
  16. config.guess
  17. config.h.in
  18. config.sub
  19. configure
  20. configure.in
  21. CREDITS
  22. decnet.h
  23. dhcp6.h
  24. dhcp6opt.h
  25. esp.h
  26. ether.h
  27. ethertype.h
  28. extract.h
  29. fddi.h
  30. FILES
  31. gmt2local.c
  32. gmt2local.h
  33. icmp6.h
  34. ieee802_11.h
  35. igrp.h
  36. INSTALL
  37. install-sh
  38. interface.h
  39. ip.h
  40. ip6.h
  41. ipsec_doi.h
  42. ipx.h
  43. isakmp.h
  44. l2tp.h
  45. lane.h
  46. LICENSE
  47. llc.h
  48. machdep.c
  49. machdep.h
  50. Makefile-devel-adds
  51. Makefile.in
  52. makemib
  53. mib.h
  54. mkdep
  55. nameser.h
  56. netbios.h
  57. nfs.h
  58. nfsfh.h
  59. ntp.h
  60. oakley.h
  61. ospf.h
  62. ospf6.h
  63. packetdat.awk
  64. parsenfsfh.c
  65. PLATFORMS
  66. ppp.h
  67. print-802_11.c
  68. print-ah.c
  69. print-arcnet.c
  70. print-arp.c
  71. print-ascii.c
  72. print-atalk.c
  73. print-atm.c
  74. print-bgp.c
  75. print-bootp.c
  76. print-bxxp.c
  77. print-cdp.c
  78. print-chdlc.c
  79. print-cip.c
  80. print-cnfp.c
  81. print-decnet.c
  82. print-dhcp6.c
  83. print-domain.c
  84. print-dvmrp.c
  85. print-egp.c
  86. print-esp.c
  87. print-ether.c
  88. print-fddi.c
  89. print-frag6.c
  90. print-gre.c
  91. print-icmp.c
  92. print-icmp6.c
  93. print-igmp.c
  94. print-igrp.c
  95. print-ip.c
  96. print-ip6.c
  97. print-ip6opts.c
  98. print-ipcomp.c
  99. print-ipx.c
  100. print-isakmp.c
  101. print-isoclns.c
  102. print-krb.c
  103. print-l2tp.c
  104. print-lane.c
  105. print-lcp.c
  106. print-llc.c
  107. print-lwres.c
  108. print-mobile.c
  109. print-mpls.c
  110. print-netbios.c
  111. print-nfs.c
  112. print-ntp.c
  113. print-null.c
  114. print-ospf.c
  115. print-ospf6.c
  116. print-pim.c
  117. print-ppp.c
  118. print-pppoe.c
  119. print-pptp.c
  120. print-radius.c
  121. print-raw.c
  122. print-rip.c
  123. print-ripng.c
  124. print-rt6.c
  125. print-rx.c
  126. print-sctp.c
  127. print-sl.c
  128. print-sll.c
  129. print-smb.c
  130. print-snmp.c
  131. print-stp.c
  132. print-sunrpc.c
  133. print-tcp.c
  134. print-telnet.c
  135. print-tftp.c
  136. print-timed.c
  137. print-token.c
  138. print-udp.c
  139. print-vjc.c
  140. print-vrrp.c
  141. print-wb.c
  142. README
  143. route6d.h
  144. rx.h
  145. sctpConstants.h
  146. sctpHeader.h
  147. send-ack.awk
  148. setsignal.c
  149. setsignal.h
  150. slcompress.h
  151. slip.h
  152. sll.h
  153. smb.h
  154. smbutil.c
  155. stime.awk
  156. strcasecmp.c
  157. tcp.h
  158. tcpdump.1
  159. tcpdump.c
  160. telnet.h
  161. timed.h
  162. TODO
  163. token.h
  164. udp.h
  165. util.c
  166. VERSION
  167. vfprintf.c