1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/netinet6
Marko Zec 44e33a0758 Change the initialization methodology for global variables scheduled
for virtualization.

Instead of initializing the affected global variables at instatiation,
assign initial values to them in initializer functions.  As a rule,
initialization at instatiation for such variables should never be
introduced again from now on.  Furthermore, enclose all instantiations
of such global variables in #ifdef VIMAGE_GLOBALS blocks.

Essentialy, this change should have zero functional impact.  In the next
phase of merging network stack virtualization infrastructure from
p4/vimage branch, the new initialization methology will allow us to
switch between using global variables and their counterparts residing in
virtualization containers with minimum code churn, and in the long run
allow us to intialize multiple instances of such container structures.

Discussed at:	devsummit Strassburg
Reviewed by:	bz, julian
Approved by:	julian (mentor)
Obtained from:	//depot/projects/vimage-commit2/...
X-MFC after:	never
Sponsored by:	NLnet Foundation, The FreeBSD Foundation
2008-11-19 09:39:34 +00:00
..
dest6.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
frag6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
icmp6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
icmp6.h
in6_cksum.c
in6_gif.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
in6_gif.h
in6_ifattach.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in6_ifattach.h
in6_pcb.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
in6_pcb.h
in6_proto.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in6_rmx.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in6_src.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in6_var.h
in6.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
in6.h Default to ignoring potentially evil IPv6 Neighbor Solicitation 2008-10-02 00:32:59 +00:00
ip6_ecn.h
ip6_forward.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip6_id.c
ip6_input.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip6_ipsec.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip6_ipsec.h
ip6_mroute.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip6_mroute.h
ip6_output.c Check that the mbuf len is positive (like we do in the v4 case). 2008-10-15 19:24:18 +00:00
ip6_var.h Add a MAC label, MAC Framework, and MAC policy entry points for IPv6 2008-10-26 22:45:18 +00:00
ip6.h
ip6protosw.h
mld6_var.h
mld6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
nd6_nbr.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
nd6_rtr.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
nd6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
nd6.h Default to ignoring potentially evil IPv6 Neighbor Solicitation 2008-10-02 00:32:59 +00:00
pim6_var.h
pim6.h
raw_ip6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
raw_ip6.h
route6.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
scope6_var.h
scope6.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
sctp6_usrreq.c
sctp6_var.h
tcp6_var.h
udp6_usrreq.c When disconnecting a UDPv6 socket, acquire the socket lock around the 2008-10-12 20:01:32 +00:00
udp6_var.h
vinet6.h Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00