mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
61eee0e202
There are number of radix consumers in kernel land (pf,ipfw,nfs,route) with different requirements. In fact, first 3 don't have _any_ requirements and first 2 does not use radix locking. On the other hand, routing structure do have these requirements (rnh_gen, multipath, custom to-be-added control plane functions, different locking). Additionally, radix should not known anything about its consumers internals. So, radix code now uses tiny 'struct radix_head' structure along with internal 'struct radix_mask_head' instead of 'struct radix_node_head'. Existing consumers still uses the same 'struct radix_node_head' with slight modifications: they need to pass pointer to (embedded) 'struct radix_head' to all radix callbacks. Routing code now uses new 'struct rib_head' with different locking macro: RADIX_NODE_HEAD prefix was renamed to RIB_ (which stands for routing information base). New net/route_var.h header was added to hold routing subsystem internal data. 'struct rib_head' was placed there. 'struct rtentry' will also be moved there soon. |
||
---|---|---|
.. | ||
bootp_subr.c | ||
krpc_subr.c | ||
krpc.h | ||
nfs_common.h | ||
nfs_diskless.c | ||
nfs_fha.c | ||
nfs_fha.h | ||
nfs_kdtrace.h | ||
nfs_lock.c | ||
nfs_lock.h | ||
nfs_mountcommon.h | ||
nfs_nfssvc.c | ||
nfsdiskless.h | ||
nfsproto.h | ||
nfssvc.h | ||
xdr_subs.h |