summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 41aa5a1ace7..93ed426607c 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.174 2019/02/13 23:47:42 dlg Exp $ */
+/* $OpenBSD: route.h,v 1.175 2019/04/28 17:59:51 mpi Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -93,12 +93,8 @@ struct rt_metrics {
*/
struct rtentry {
-#if !defined(_KERNEL) && !defined(ART)
- struct radix_node rt_nodes[2]; /* tree glue, and other values */
-#else
struct sockaddr *rt_dest; /* destination */
SRPL_ENTRY(rtentry) rt_next; /* Next multipath entry to our dst. */
-#endif
struct sockaddr *rt_gateway; /* value */
struct ifaddr *rt_ifa; /* the answer: interface addr to use */
caddr_t rt_llinfo; /* pointer to link level info cache or
@@ -115,9 +111,7 @@ struct rtentry {
unsigned int rt_ifidx; /* the answer: interface to use */
unsigned int rt_flags; /* up/down?, host/net */
int rt_refcnt; /* # held references */
-#if defined(_KERNEL) || defined(ART)
int rt_plen; /* prefix length */
-#endif
uint16_t rt_labelid; /* route label ID */
uint8_t rt_priority; /* routing priority to use */
};