Date: Tue, 26 Apr 2005 18:10:21 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys param.h src/sys/netinet ip_fw2.c ip_icmp.h Message-ID: <200504261810.j3QIALSA030209@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2005-04-26 18:10:21 UTC FreeBSD src repository Modified files: sys/sys param.h sys/netinet ip_fw2.c ip_icmp.h Log: 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> Revision Changes Path 1.96 +5 -9 src/sys/netinet/ip_fw2.c 1.25 +11 -0 src/sys/netinet/ip_icmp.h 1.237 +1 -1 src/sys/sys/param.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504261810.j3QIALSA030209>