freebsd-nq/sys/compat
Bjoern A. Zeeb 33553d6e99 For all files including net/vnet.h directly include opt_route.h and
net/route.h.

Remove the hidden include of opt_route.h and net/route.h from net/vnet.h.

We need to make sure that both opt_route.h and net/route.h are included
before net/vnet.h because of the way MRT figures out the number of FIBs
from the kernel option. If we do not, we end up with the default number
of 1 when including net/vnet.h and array sizes are wrong.

This does not change the list of files which depend on opt_route.h
but we can identify them now more easily.
2009-02-27 14:12:05 +00:00
..
freebsd32 Push down Giant inside sysctl. Also add some more assertions to the code. 2008-12-29 12:58:45 +00:00
ia32 Add sv_flags field to struct sysentvec with intention to provide description 2008-11-22 12:36:15 +00:00
linprocfs For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
ndis Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
svr4 For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00