freebsd-dev/sys/netinet
Brooks Davis 31519b13c8 Introduce a struct icmphdr which contains the type, code, and cksum
fields of an ICMP packet.

Use this to allow ipfw to pullup only these values since it does not use
the rest of the packet and it was failed on ICMP packets because they
were not long enough.

struct icmp should probably be modified to use these at some point, but
that will break a fair bit of code so it can wait for another day.

On the off chance that adding this struct breaks something in ports,
bump __FreeBSD_version.

Reported by:	Randy Bush <randy at psg dot com>
Tested by:	Randy Bush <randy at psg dot com>
2005-04-26 18:10:21 +00:00
..
libalias
accf_data.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c
if_ether.h
igmp_var.h
igmp.c
igmp.h
in_cksum.c
in_gif.c
in_gif.h
in_pcb.c o Tweak the comment a bit. 2005-04-08 08:43:21 +00:00
in_pcb.h
in_proto.c
in_rmx.c
in_systm.h
in_var.h
in.c
in.h
ip6.h
ip_carp.c Remove anti-LOR bandaid, it is not needed now. 2005-04-20 09:32:05 +00:00
ip_carp.h
ip_divert.c
ip_divert.h
ip_dummynet.c Make DUMMYNET compile without INET6 2005-04-19 10:12:21 +00:00
ip_dummynet.h Add IPv6 support to IPFW and Dummynet. 2005-04-18 18:35:05 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c
ip_fw2.c Introduce a struct icmphdr which contains the type, code, and cksum 2005-04-26 18:10:21 +00:00
ip_fw_pfil.c Add IPv6 support to IPFW and Dummynet. 2005-04-18 18:35:05 +00:00
ip_fw.h Add IPv6 support to IPFW and Dummynet. 2005-04-18 18:35:05 +00:00
ip_gre.c
ip_gre.h
ip_icmp.c Move Path MTU discovery ICMP processing from icmp_input() to 2005-04-21 14:29:34 +00:00
ip_icmp.h Introduce a struct icmphdr which contains the type, code, and cksum 2005-04-26 18:10:21 +00:00
ip_id.c
ip_input.c o Nano optimize ip_reass() code path for the first fragment: do not 2005-04-08 10:25:13 +00:00
ip_mroute.c
ip_mroute.h
ip_output.c
ip_var.h
ip.h
ipprotosw.h
pim_var.h
pim.h
raw_ip.c
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_hostcache.c
tcp_input.c Fix for a TCP SACK bug where more than (win/2) bytes could have been 2005-04-14 20:09:52 +00:00
tcp_output.c Fix for interaction problems between TCP SACK and TCP Signature. 2005-04-21 20:26:07 +00:00
tcp_reass.c Fix for a TCP SACK bug where more than (win/2) bytes could have been 2005-04-14 20:09:52 +00:00
tcp_sack.c - Make the sack scoreboard logic use the TAILQ macros. This improves 2005-04-21 20:11:01 +00:00
tcp_seq.h - Tighten up the Timestamp checks to prevent a spoofed segment from 2005-04-10 05:24:59 +00:00
tcp_subr.c - Make the sack scoreboard logic use the TAILQ macros. This improves 2005-04-21 20:11:01 +00:00
tcp_syncache.c Remove some code that snuck in by accident. 2005-04-21 20:29:40 +00:00
tcp_timer.c
tcp_timer.h
tcp_timewait.c - Make the sack scoreboard logic use the TAILQ macros. This improves 2005-04-21 20:11:01 +00:00
tcp_usrreq.c
tcp_var.h - Make the sack scoreboard logic use the TAILQ macros. This improves 2005-04-21 20:11:01 +00:00
tcp.h
tcpip.h
udp_usrreq.c
udp_var.h
udp.h