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/route.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/route.h')
-rw-r--r-- | sys/net/route.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 76b07d2..58178ab 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)route.h 8.3 (Berkeley) 4/19/94 - * $Id: route.h,v 1.11 1995/02/07 19:05:12 wollman Exp $ + * $Id: route.h,v 1.12 1995/02/08 20:01:13 wollman Exp $ */ #ifndef _NET_ROUTE_H_ @@ -101,10 +101,9 @@ struct rtentry { #define rt_key(r) ((struct sockaddr *)((r)->rt_nodes->rn_key)) #define rt_mask(r) ((struct sockaddr *)((r)->rt_nodes->rn_mask)) struct sockaddr *rt_gateway; /* value */ - /* XXX - rt_flags should be unified with rt_prflags */ - short rt_filler; /* up/down?, host/net */ + short rt_filler; /* was short flags field */ short rt_refcnt; /* # held references */ - u_long rt_flags; /* protocol-specific flags */ + u_long rt_flags; /* up/down?, host/net */ struct ifnet *rt_ifp; /* the answer: interface to use */ struct ifaddr *rt_ifa; /* the answer: interface to use */ struct sockaddr *rt_genmask; /* for generation of cloned routes */ @@ -115,7 +114,7 @@ struct rtentry { struct sockaddr *, int)); /* output routine for this (rt,if) */ struct rtentry *rt_parent; /* cloning parent of this route */ - struct rtentry *rt_nextchild; /* next cloned child of this route */ + void *rt_filler2; /* more filler */ }; /* |