gcov: add support for GCC 10.1
[linux/fpc-iii.git] / include / net / netns / nexthop.h
blobc712ee5eebd95daac3f34dd8e3d62e4cd9c250d1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * nexthops in net namespaces
4 */
6 #ifndef __NETNS_NEXTHOP_H__
7 #define __NETNS_NEXTHOP_H__
9 #include <linux/rbtree.h>
11 struct netns_nexthop {
12 struct rb_root rb_root; /* tree of nexthops by id */
13 struct hlist_head *devhash; /* nexthops by device */
15 unsigned int seq; /* protected by rtnl_mutex */
16 u32 last_id_allocated;
18 #endif