mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
netfilter: nf_tables: complete net namespace support
Register family per netnamespace to ensure that sets are only visible in its approapriate namespace. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
eb31628e37
commit
99633ab29b
7 changed files with 168 additions and 35 deletions
15
include/net/netns/nftables.h
Normal file
15
include/net/netns/nftables.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef _NETNS_NFTABLES_H_
|
||||
#define _NETNS_NFTABLES_H_
|
||||
|
||||
#include <linux/list.h>
|
||||
|
||||
struct nft_af_info;
|
||||
|
||||
struct netns_nftables {
|
||||
struct list_head af_info;
|
||||
struct nft_af_info *ipv4;
|
||||
struct nft_af_info *ipv6;
|
||||
struct nft_af_info *bridge;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue