[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Ryan Thomas McBride <mcbride_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 27 Oct 2006 07:56:51 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: mcbride_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/10/27 07:56:51
Modified files:
sys/net : pf.c pf_ioctl.c pfvar.h
Added files:
sys/net : pf_ruleset.c
Log message:
Split ruleset manipulation functions out into pf_ruleset.c to allow them to
be imported into pfctl. This is a precursor to separating ruleset parsing
from loading in pfctl, and tons of good things will come from it.
2 minor changes aside from cut-n-paste and #define portability magic:
- instead of defining the global pf_main_ruleset, define pf_main_anchor
(which contains the pf_main_ruleset)
- allow pf_find_or_create_ruleset() to return the pf_main_ruleset if it's
passed an empty anchor name.
ok henning dhartmei
Visit your host, monkey.org