Date: Tue, 15 Dec 2009 16:15:14 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <200912151616.nBFGG0XC016045@repoman.freebsd.org>
index | next in thread | raw e-mail
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)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912151616.nBFGG0XC016045>
