nftables.h 466 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NETNS_NFTABLES_H_
  3. #define _NETNS_NFTABLES_H_
  4. #include <linux/list.h>
  5. struct nft_af_info;
  6. struct netns_nftables {
  7. struct list_head af_info;
  8. struct list_head tables;
  9. struct list_head commit_list;
  10. struct nft_af_info *ipv4;
  11. struct nft_af_info *ipv6;
  12. struct nft_af_info *inet;
  13. struct nft_af_info *arp;
  14. struct nft_af_info *bridge;
  15. struct nft_af_info *netdev;
  16. unsigned int base_seq;
  17. u8 gencursor;
  18. };
  19. #endif