drm/nouveau: fix kernel-doc comments
[drm/drm-misc.git] / include / net / netns / nexthop.h
blob434239b370141e7a83305cb5a10b1516f2fc1869
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/notifier.h>
10 #include <linux/rbtree.h>
12 struct netns_nexthop {
13 struct rb_root rb_root; /* tree of nexthops by id */
14 struct hlist_head *devhash; /* nexthops by device */
16 unsigned int seq; /* protected by rtnl_mutex */
17 u32 last_id_allocated;
18 struct blocking_notifier_head notifier_chain;
20 #endif