diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-07-29 04:20:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-29 16:06:50 +0200 |
commit | 889b7da23abf92faf34491df95733bda63639e32 (patch) | |
tree | ca6e3dce6902dc73d174966db46e735a0d214687 /include/net/netns | |
parent | mctp: Add device handling and netlink interface (diff) | |
download | linux-889b7da23abf92faf34491df95733bda63639e32.tar.xz linux-889b7da23abf92faf34491df95733bda63639e32.zip |
mctp: Add initial routing framework
Add a simple routing table, and a couple of route output handlers, and
the mctp packet_type & handler.
Includes changes from Matt Johnston <matt@codeconstruct.com.au>.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/mctp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/netns/mctp.h b/include/net/netns/mctp.h new file mode 100644 index 000000000000..508459b08a59 --- /dev/null +++ b/include/net/netns/mctp.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * MCTP per-net structures + */ + +#ifndef __NETNS_MCTP_H__ +#define __NETNS_MCTP_H__ + +#include <linux/types.h> + +struct netns_mctp { + /* Only updated under RTNL, entries freed via RCU */ + struct list_head routes; +}; + +#endif /* __NETNS_MCTP_H__ */ |