diff options
author | sam <sam@FreeBSD.org> | 2003-10-03 18:15:54 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-10-03 18:15:54 +0000 |
commit | 8dd5eb97cf24bf6f275042acc34c5574ca559739 (patch) | |
tree | 7877f3f49f5157f92a687ac44ed0e5f2ccfc3dd1 /sys/net/route.h | |
parent | 2e29f8c1880a232e80d2717be09c38af6f25e21c (diff) | |
download | FreeBSD-src-8dd5eb97cf24bf6f275042acc34c5574ca559739.zip FreeBSD-src-8dd5eb97cf24bf6f275042acc34c5574ca559739.tar.gz |
cleanups prior to adding locking (and in some cases to eliminate locking):
o move route_cb to be private to rtsock.c
o replace global static route_proto by locals
o eliminate global #define shorthands for info references
o remove some register decls
o ansi-fy function decls
o move items to be close in scope to their usage
o add rt_dispatch function for dispatching the actual message
o cleanup tangled logic for doing all-but-me msg send
Support by: FreeBSD Foundation
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 79b796b..869e49d 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -254,13 +254,6 @@ struct rt_addrinfo { struct ifnet *rti_ifp; }; -struct route_cb { - int ip_count; - int ip6_count; - int ipx_count; - int any_count; -}; - #ifdef _KERNEL #define RT_LOCK_INIT(rt) \ @@ -277,7 +270,6 @@ struct route_cb { (rt)->rt_refcnt--; \ } while (0) -extern struct route_cb route_cb; extern struct radix_node_head *rt_tables[AF_MAX+1]; struct ifmultiaddr; |