mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
ed6c4136f1
This allows us to create netdev tables that contain ingress chains. Use skb_header_pointer() as we may see shared sk_buffs at this stage. This change provides access to the existing nf_tables features from the ingress hook. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
22 lines
401 B
C
22 lines
401 B
C
#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 list_head commit_list;
|
|
struct nft_af_info *ipv4;
|
|
struct nft_af_info *ipv6;
|
|
struct nft_af_info *inet;
|
|
struct nft_af_info *arp;
|
|
struct nft_af_info *bridge;
|
|
struct nft_af_info *netdev;
|
|
unsigned int base_seq;
|
|
u8 gencursor;
|
|
};
|
|
|
|
#endif
|