Date: Tue, 27 Jan 2009 10:18:55 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ipfw Makefile ipfw2.c ipfw2.h main.c Message-ID: <200901271018.n0RAIvRT091462@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2009-01-27 10:18:55 UTC FreeBSD src repository Modified files: sbin/ipfw Makefile ipfw2.c Added files: sbin/ipfw ipfw2.h main.c Log: SVN rev 187767 on 2009-01-27 10:18:55Z by luigi Start splitting the monster file in smaller blocks. In this episode: - introduce a common header with a minimal set of common definitions; - bring the main() function and options parser in main.c - rename the main functions with an ipfw_ prefix No code changes except for the introduction of a global variable, resvd_set_number, which stores the RESVD_SET value from ip_fw.h and is used to remove the dependency of main.c from ip_fw.h (and the subtree of dependencies) for just a single constant. Revision Changes Path 1.16 +1 -1 src/sbin/ipfw/Makefile 1.141 +36 -588 src/sbin/ipfw/ipfw2.c 1.1 +105 -0 src/sbin/ipfw/ipfw2.h (new) 1.1 +539 -0 src/sbin/ipfw/main.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901271018.n0RAIvRT091462>