diff options
author | luigi <luigi@FreeBSD.org> | 2009-12-15 16:15:14 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2009-12-15 16:15:14 +0000 |
commit | c4e6c7a490d49b3d223f8dfbc5978cd7abefc6ff (patch) | |
tree | 36cbadf9b9732e76c72e3e2eb0b4b62a48ef743d /sys/conf | |
parent | 2ffe7d61d93a8c10c0336f394d7c3614ae58d642 (diff) | |
download | FreeBSD-src-c4e6c7a490d49b3d223f8dfbc5978cd7abefc6ff.zip FreeBSD-src-c4e6c7a490d49b3d223f8dfbc5978cd7abefc6ff.tar.gz |
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
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 1e9d80d..764000d 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2427,6 +2427,8 @@ netinet/ip_encap.c optional inet | inet6 netinet/ip_fastfwd.c optional inet netinet/ipfw/ip_fw2.c optional inet ipfirewall \ compile-with "${NORMAL_C} -I$S/contrib/pf" +netinet/ipfw/ip_fw_dynamic.c optional inet ipfirewall +netinet/ipfw/ip_fw_log.c optional inet ipfirewall netinet/ipfw/ip_fw_pfil.c optional inet ipfirewall netinet/ipfw/ip_fw_nat.c optional inet ipfirewall_nat netinet/ip_icmp.c optional inet |