From owner-cvs-src-old@FreeBSD.ORG Tue Dec 15 16:16:01 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 498DB1065672 for ; Tue, 15 Dec 2009 16:16:01 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 19AE78FC24 for ; Tue, 15 Dec 2009 16:16:01 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFGG0Y4016046 for ; Tue, 15 Dec 2009 16:16:00 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBFGG0XC016045 for cvs-src-old@freebsd.org; Tue, 15 Dec 2009 16:16:00 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <200912151616.nBFGG0XC016045@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Tue, 15 Dec 2009 16:15:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/net if_bridge.c if_ethersubr.c src/sys/netinet ip_divert.c ip_fw.h src/sys/netinet/ipfw ip_dummynet.c ip_fw2.c ip_fw_dynamic.c ip_fw_log.c ip_fw_nat.c ip_fw_pfil.c ip_fw_private.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 16:16:01 -0000 luigi 2009-12-15 16:15:14 UTC FreeBSD src repository Modified files: sys/conf files sys/net if_bridge.c if_ethersubr.c sys/netinet ip_divert.c ip_fw.h sys/netinet/ipfw ip_dummynet.c ip_fw2.c ip_fw_nat.c ip_fw_pfil.c Added files: sys/netinet/ipfw ip_fw_dynamic.c ip_fw_log.c ip_fw_private.h Log: SVN rev 200580 on 2009-12-15 16:15:14Z by luigi Start splitting ip_fw2.c and ip_fw.h into smaller components. At this time we pull out from ip_fw2.c the logging functions, and support for dynamic rules, and move kernel-only stuff into netinet/ipfw/ip_fw_private.h No ABI change involved in this commit, unless I made some mistake. ip_fw.h has changed, though not in the userland-visible part. Files touched by this commit: conf/files now references the two new source files netinet/ip_fw.h remove kernel-only definitions gone into netinet/ipfw/ip_fw_private.h. netinet/ipfw/ip_fw_private.h new file with kernel-specific ipfw definitions netinet/ipfw/ip_fw_log.c ipfw_log and related functions netinet/ipfw/ip_fw_dynamic.c code related to dynamic rules netinet/ipfw/ip_fw2.c removed the pieces that goes in the new files netinet/ipfw/ip_fw_nat.c minor rearrangement to remove LOOKUP_NAT from the main headers. This require a new function pointer. A bunch of other kernel files that included netinet/ip_fw.h now require netinet/ipfw/ip_fw_private.h as well. Not 100% sure i caught all of them. MFC after: 1 month Revision Changes Path 1.1488 +2 -0 src/sys/conf/files 1.134 +1 -0 src/sys/net/if_bridge.c 1.272 +1 -0 src/sys/net/if_ethersubr.c 1.158 +1 -0 src/sys/netinet/ip_divert.c 1.135 +0 -129 src/sys/netinet/ip_fw.h 1.13 +1 -0 src/sys/netinet/ipfw/ip_dummynet.c 1.26 +19 -1396 src/sys/netinet/ipfw/ip_fw2.c 1.1 +1224 -0 src/sys/netinet/ipfw/ip_fw_dynamic.c (new) 1.1 +371 -0 src/sys/netinet/ipfw/ip_fw_log.c (new) 1.6 +28 -6 src/sys/netinet/ipfw/ip_fw_nat.c 1.7 +1 -0 src/sys/netinet/ipfw/ip_fw_pfil.c 1.1 +208 -0 src/sys/netinet/ipfw/ip_fw_private.h (new)