diff options
author | wollman <wollman@FreeBSD.org> | 1995-03-20 21:30:21 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-03-20 21:30:21 +0000 |
commit | 09bae951cdb7fe1a16e3051107f37b8355e8869f (patch) | |
tree | 3b7e3604d0734c6e5b3c0014b659b4f65082f97b /sys/net/radix.h | |
parent | 2aa3b373ab357ea8424de3c5134c49704baadb54 (diff) | |
download | FreeBSD-src-09bae951cdb7fe1a16e3051107f37b8355e8869f.zip FreeBSD-src-09bae951cdb7fe1a16e3051107f37b8355e8869f.tar.gz |
Better fix for the deletion of parents of cloned routes problem,
superseding the `nextchild' hack. This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
Diffstat (limited to 'sys/net/radix.h')
-rw-r--r-- | sys/net/radix.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/radix.h b/sys/net/radix.h index 9d44941..89df2ac 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.5 1994/11/14 14:06:06 bde Exp $ + * $Id: radix.h,v 1.6 1995/03/16 18:14:29 bde Exp $ */ #ifndef _NET_RADIX_H_ @@ -120,6 +120,9 @@ struct radix_node_head { __P((void *v, struct radix_node_head *head)); int (*rnh_walktree) /* traverse tree */ __P((struct radix_node_head *head, walktree_f_t *f, void *w)); + int (*rnh_walktree_from) /* traverse tree below a */ + __P((struct radix_node_head *head, void *a, void *m, + walktree_f_t *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 */ |