From 1414f0bd248c5ca6172f3fcabc3136e287e18530 Mon Sep 17 00:00:00 2001 From: wollman Date: Wed, 2 Nov 1994 04:41:39 +0000 Subject: 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.) --- sys/net/radix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net/radix.h') 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 */ }; -- cgit v1.1