Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.19-rc6 19 lines 428 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * nexthops in net namespaces 4 */ 5 6#ifndef __NETNS_NEXTHOP_H__ 7#define __NETNS_NEXTHOP_H__ 8 9#include <linux/rbtree.h> 10 11struct netns_nexthop { 12 struct rb_root rb_root; /* tree of nexthops by id */ 13 struct hlist_head *devhash; /* nexthops by device */ 14 15 unsigned int seq; /* protected by rtnl_mutex */ 16 u32 last_id_allocated; 17 struct blocking_notifier_head notifier_chain; 18}; 19#endif