freebsd-skq/sys/netipsec
zec c85551e0bc First pass at separating per-vnet initializer functions
from existing functions for initializing global state.

        At this stage, the new per-vnet initializer functions are
	directly called from the existing global initialization code,
	which should in most cases result in compiler inlining those
	new functions, hence yielding a near-zero functional change.

        Modify the existing initializer functions which are invoked via
        protosw, like ip_init() et. al., to allow them to be invoked
	multiple times, i.e. per each vnet.  Global state, if any,
	is initialized only if such functions are called within the
	context of vnet0, which will be determined via the
	IS_DEFAULT_VNET(curvnet) check (currently always true).

        While here, V_irtualize a few remaining global UMA zones
        used by net/netinet/netipsec networking code.  While it is
        not yet clear to me or anybody else whether this is the right
        thing to do, at this stage this makes the code more readable,
        and makes it easier to track uncollected UMA-zone-backed
        objects on vnet removal.  In the long run, it's quite possible
        that some form of shared use of UMA zone pools among multiple
        vnets should be considered.

	Bump __FreeBSD_version due to changes in layout of structs
	vnet_ipfw, vnet_inet and vnet_net.

Approved by:	julian (mentor)
2009-04-06 22:29:41 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c
ipsec_mbuf.c
ipsec_output.c
ipsec.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
ipsec.h
key_debug.c
key_debug.h
key_var.h
key.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
key.h
keydb.h
keysock.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
keysock.h
vipsec.h Add size-guards evaluated at compile-time to the main struct vnet_* 2009-03-01 11:01:00 +00:00
xform_ah.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
xform_esp.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
xform_ipcomp.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
xform_ipip.c First pass at separating per-vnet initializer functions 2009-04-06 22:29:41 +00:00
xform_tcp.c
xform.h