summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-11-02 04:41:39 +0000
committerwollman <wollman@FreeBSD.org>1994-11-02 04:41:39 +0000
commit1414f0bd248c5ca6172f3fcabc3136e287e18530 (patch)
tree6d16aaedb84ab97688d73043e6fee0204a157554 /sys/net/radix.h
parent08d6168872f2417e5666243ce4ea5c6abb7bcf4b (diff)
downloadFreeBSD-src-1414f0bd248c5ca6172f3fcabc3136e287e18530.zip
FreeBSD-src-1414f0bd248c5ca6172f3fcabc3136e287e18530.tar.gz
Add code to be a bit smarter about IP routes, conditioned on the option
IN_RMX. (Eventually this will be standard, but I just wrote the code today and don't want to break anyone.)
Diffstat (limited to 'sys/net/radix.h')
-rw-r--r--sys/net/radix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/radix.h b/sys/net/radix.h
index 2909924..89895d0 100644
--- a/sys/net/radix.h
+++ b/sys/net/radix.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)radix.h 8.1 (Berkeley) 6/10/93
- * $Id: radix.h,v 1.2 1994/08/02 07:46:31 davidg Exp $
+ * $Id: radix.h,v 1.3 1994/08/21 05:11:45 paul Exp $
*/
#ifndef _NET_RADIX_H_
@@ -118,6 +118,8 @@ struct radix_node_head {
__P((void *v, struct radix_node_head *head));
int (*rnh_walktree) /* traverse tree */
__P((struct radix_node_head *head, int (*f)(), void *w));
+ void (*rnh_close) /* do something when the last ref drops */
+ __P((struct radix_node *rn, struct radix_node_head *head));
struct radix_node rnh_nodes[3]; /* empty tree for common case */
};
OpenPOWER on IntegriCloud