aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/netfilter/nf_tables.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h
index 1563875e6942..a9c4bce1988f 100644
--- a/include/uapi/linux/netfilter/nf_tables.h
+++ b/include/uapi/linux/netfilter/nf_tables.h
@@ -97,13 +97,24 @@ enum nft_hook_attributes {
97#define NFTA_HOOK_MAX (__NFTA_HOOK_MAX - 1) 97#define NFTA_HOOK_MAX (__NFTA_HOOK_MAX - 1)
98 98
99/** 99/**
100 * enum nft_table_flags - nf_tables table flags
101 *
102 * @NFT_TABLE_F_DORMANT: this table is not active
103 */
104enum nft_table_flags {
105 NFT_TABLE_F_DORMANT = 0x1,
106};
107
108/**
100 * enum nft_table_attributes - nf_tables table netlink attributes 109 * enum nft_table_attributes - nf_tables table netlink attributes
101 * 110 *
102 * @NFTA_TABLE_NAME: name of the table (NLA_STRING) 111 * @NFTA_TABLE_NAME: name of the table (NLA_STRING)
112 * @NFTA_TABLE_FLAGS: bitmask of enum nft_table_flags (NLA_U32)
103 */ 113 */
104enum nft_table_attributes { 114enum nft_table_attributes {
105 NFTA_TABLE_UNSPEC, 115 NFTA_TABLE_UNSPEC,
106 NFTA_TABLE_NAME, 116 NFTA_TABLE_NAME,
117 NFTA_TABLE_FLAGS,
107 __NFTA_TABLE_MAX 118 __NFTA_TABLE_MAX
108}; 119};
109#define NFTA_TABLE_MAX (__NFTA_TABLE_MAX - 1) 120#define NFTA_TABLE_MAX (__NFTA_TABLE_MAX - 1)