Date: Wed, 16 Dec 2009 10:48:40 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: 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 ip_fw_sockopt.c ip_fw_table.c Message-ID: <200912161049.nBGAn3uU071453@repoman.freebsd.org>
index | next in thread | raw e-mail
luigi 2009-12-16 10:48:40 UTC
FreeBSD src repository
Modified files:
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 ip_fw_sockopt.c
ip_fw_table.c
Log:
SVN rev 200601 on 2009-12-16 10:48:40Z by luigi
Various cosmetic cleanup of the files:
- move global variables around to reduce the scope and make them
static if possible;
- add an ipfw_ prefix to all public functions to prevent conflicts
(the same should be done for variables);
- try to pack variable declaration in an uniform way across files;
- clarify some comments;
- remove some misspelling of names (#define V_foo VNET(bar)) that
slipped in due to cut&paste
- remove duplicate static variables in different files;
MFC after: 1 month
Revision Changes Path
1.14 +1 -0 src/sys/netinet/ipfw/ip_dummynet.c
1.28 +89 -92 src/sys/netinet/ipfw/ip_fw2.c
1.2 +13 -8 src/sys/netinet/ipfw/ip_fw_dynamic.c
1.2 +1 -4 src/sys/netinet/ipfw/ip_fw_log.c
1.8 +1 -0 src/sys/netinet/ipfw/ip_fw_nat.c
1.8 +39 -5 src/sys/netinet/ipfw/ip_fw_pfil.c
1.3 +19 -23 src/sys/netinet/ipfw/ip_fw_private.h
1.2 +11 -6 src/sys/netinet/ipfw/ip_fw_sockopt.c
1.2 +9 -5 src/sys/netinet/ipfw/ip_fw_table.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912161049.nBGAn3uU071453>
