Last consumer of _WANT_RTENTRY gone.
This commit is contained in:
parent
00dffd7e7d
commit
10addc1eb5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313560
@ -135,7 +135,7 @@ VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_KERNEL) || defined(_WANT_RTENTRY)
|
#if defined(_KERNEL)
|
||||||
struct rtentry {
|
struct rtentry {
|
||||||
struct radix_node rt_nodes[2]; /* tree glue, and other values */
|
struct radix_node rt_nodes[2]; /* tree glue, and other values */
|
||||||
/*
|
/*
|
||||||
@ -159,7 +159,7 @@ struct rtentry {
|
|||||||
struct mtx rt_mtx; /* mutex for routing entry */
|
struct mtx rt_mtx; /* mutex for routing entry */
|
||||||
struct rtentry *rt_chain; /* pointer to next rtentry to delete */
|
struct rtentry *rt_chain; /* pointer to next rtentry to delete */
|
||||||
};
|
};
|
||||||
#endif /* _KERNEL || _WANT_RTENTRY */
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
#define RTF_UP 0x1 /* route usable */
|
#define RTF_UP 0x1 /* route usable */
|
||||||
#define RTF_GATEWAY 0x2 /* destination is a gateway */
|
#define RTF_GATEWAY 0x2 /* destination is a gateway */
|
||||||
|
Loading…
Reference in New Issue
Block a user