From owner-cvs-all@FreeBSD.ORG Tue Apr 26 18:10:21 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CFD416A4CE; Tue, 26 Apr 2005 18:10:21 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6671943D5A; Tue, 26 Apr 2005 18:10:21 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3QIAL3i030210; Tue, 26 Apr 2005 18:10:21 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3QIALSA030209; Tue, 26 Apr 2005 18:10:21 GMT (envelope-from brooks) Message-Id: <200504261810.j3QIALSA030209@repoman.freebsd.org> From: Brooks Davis Date: Tue, 26 Apr 2005 18:10:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys param.h src/sys/netinet ip_fw2.c ip_icmp.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 18:10:21 -0000 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 Tested by: Randy Bush 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