diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-26 22:37:36 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-26 22:37:36 +0000 |
commit | 21aa28c09910dc1ea64699bda2eb5f37bdcf9fd3 (patch) | |
tree | 691ed47c1c1d155cfdbffe71988b67faca35f5ee /sys/net | |
parent | bd086bbbec0e1e5c131e5afc53c559054af32499 (diff) |
remove last races of SIOCADDRT and SIOCDELRT, the 4.3BSD routing table ioctls
theo ok
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 79604cf3396..8f4260dd23b 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.26 2004/09/16 22:31:30 henning Exp $ */ +/* $OpenBSD: route.h,v 1.27 2005/05/26 22:37:34 henning Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -120,20 +120,6 @@ struct rtentry { }; #define rt_use rt_rmx.rmx_pksent -/* - * Following structure necessary for 4.3 compatibility; - * We should eventually move it to a compat file. - */ -struct ortentry { - u_int32_t rt_hash; /* to speed lookups */ - struct sockaddr rt_dst; /* key */ - struct sockaddr rt_gateway; /* value */ - int16_t rt_flags; /* up/down?, host/net */ - int16_t rt_refcnt; /* # held references */ - u_int32_t rt_ouse; /* raw # packets forwarded (was: rt_use) */ - struct ifnet *rt_ifp; /* the answer: interface to use */ -}; - #define RTF_UP 0x1 /* route usable */ #define RTF_GATEWAY 0x2 /* destination is a gateway */ #define RTF_HOST 0x4 /* host entry (net otherwise) */ @@ -198,8 +184,6 @@ struct rt_msghdr { #define RTM_REDIRECT 0x6 /* Told to use different route */ #define RTM_MISS 0x7 /* Lookup failed on this address */ #define RTM_LOCK 0x8 /* fix specified metrics */ -#define RTM_OLDADD 0x9 /* caused by SIOCADDRT */ -#define RTM_OLDDEL 0xa /* caused by SIOCDELRT */ #define RTM_RESOLVE 0xb /* req to resolve dst to LL addr */ #define RTM_NEWADDR 0xc /* address being added to iface */ #define RTM_DELADDR 0xd /* address being removed from iface */ |