diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 7d6433f66bf8..2a88f645a5d8 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h | |||
| @@ -246,6 +246,7 @@ enum nft_set_desc_attributes { | |||
| 246 | * @NFTA_SET_DATA_LEN: mapping data length (NLA_U32) | 246 | * @NFTA_SET_DATA_LEN: mapping data length (NLA_U32) |
| 247 | * @NFTA_SET_POLICY: selection policy (NLA_U32) | 247 | * @NFTA_SET_POLICY: selection policy (NLA_U32) |
| 248 | * @NFTA_SET_DESC: set description (NLA_NESTED) | 248 | * @NFTA_SET_DESC: set description (NLA_NESTED) |
| 249 | * @NFTA_SET_ID: uniquely identifies a set in a transaction (NLA_U32) | ||
| 249 | */ | 250 | */ |
| 250 | enum nft_set_attributes { | 251 | enum nft_set_attributes { |
| 251 | NFTA_SET_UNSPEC, | 252 | NFTA_SET_UNSPEC, |
| @@ -258,6 +259,7 @@ enum nft_set_attributes { | |||
| 258 | NFTA_SET_DATA_LEN, | 259 | NFTA_SET_DATA_LEN, |
| 259 | NFTA_SET_POLICY, | 260 | NFTA_SET_POLICY, |
| 260 | NFTA_SET_DESC, | 261 | NFTA_SET_DESC, |
| 262 | NFTA_SET_ID, | ||
| 261 | __NFTA_SET_MAX | 263 | __NFTA_SET_MAX |
| 262 | }; | 264 | }; |
| 263 | #define NFTA_SET_MAX (__NFTA_SET_MAX - 1) | 265 | #define NFTA_SET_MAX (__NFTA_SET_MAX - 1) |
| @@ -293,12 +295,14 @@ enum nft_set_elem_attributes { | |||
| 293 | * @NFTA_SET_ELEM_LIST_TABLE: table of the set to be changed (NLA_STRING) | 295 | * @NFTA_SET_ELEM_LIST_TABLE: table of the set to be changed (NLA_STRING) |
| 294 | * @NFTA_SET_ELEM_LIST_SET: name of the set to be changed (NLA_STRING) | 296 | * @NFTA_SET_ELEM_LIST_SET: name of the set to be changed (NLA_STRING) |
| 295 | * @NFTA_SET_ELEM_LIST_ELEMENTS: list of set elements (NLA_NESTED: nft_set_elem_attributes) | 297 | * @NFTA_SET_ELEM_LIST_ELEMENTS: list of set elements (NLA_NESTED: nft_set_elem_attributes) |
| 298 | * @NFTA_SET_ELEM_LIST_SET_ID: uniquely identifies a set in a transaction (NLA_U32) | ||
| 296 | */ | 299 | */ |
| 297 | enum nft_set_elem_list_attributes { | 300 | enum nft_set_elem_list_attributes { |
| 298 | NFTA_SET_ELEM_LIST_UNSPEC, | 301 | NFTA_SET_ELEM_LIST_UNSPEC, |
| 299 | NFTA_SET_ELEM_LIST_TABLE, | 302 | NFTA_SET_ELEM_LIST_TABLE, |
| 300 | NFTA_SET_ELEM_LIST_SET, | 303 | NFTA_SET_ELEM_LIST_SET, |
| 301 | NFTA_SET_ELEM_LIST_ELEMENTS, | 304 | NFTA_SET_ELEM_LIST_ELEMENTS, |
| 305 | NFTA_SET_ELEM_LIST_SET_ID, | ||
| 302 | __NFTA_SET_ELEM_LIST_MAX | 306 | __NFTA_SET_ELEM_LIST_MAX |
| 303 | }; | 307 | }; |
| 304 | #define NFTA_SET_ELEM_LIST_MAX (__NFTA_SET_ELEM_LIST_MAX - 1) | 308 | #define NFTA_SET_ELEM_LIST_MAX (__NFTA_SET_ELEM_LIST_MAX - 1) |
| @@ -484,12 +488,14 @@ enum nft_cmp_attributes { | |||
| 484 | * @NFTA_LOOKUP_SET: name of the set where to look for (NLA_STRING) | 488 | * @NFTA_LOOKUP_SET: name of the set where to look for (NLA_STRING) |
| 485 | * @NFTA_LOOKUP_SREG: source register of the data to look for (NLA_U32: nft_registers) | 489 | * @NFTA_LOOKUP_SREG: source register of the data to look for (NLA_U32: nft_registers) |
| 486 | * @NFTA_LOOKUP_DREG: destination register (NLA_U32: nft_registers) | 490 | * @NFTA_LOOKUP_DREG: destination register (NLA_U32: nft_registers) |
| 491 | * @NFTA_LOOKUP_SET_ID: uniquely identifies a set in a transaction (NLA_U32) | ||
| 487 | */ | 492 | */ |
| 488 | enum nft_lookup_attributes { | 493 | enum nft_lookup_attributes { |
| 489 | NFTA_LOOKUP_UNSPEC, | 494 | NFTA_LOOKUP_UNSPEC, |
| 490 | NFTA_LOOKUP_SET, | 495 | NFTA_LOOKUP_SET, |
| 491 | NFTA_LOOKUP_SREG, | 496 | NFTA_LOOKUP_SREG, |
| 492 | NFTA_LOOKUP_DREG, | 497 | NFTA_LOOKUP_DREG, |
| 498 | NFTA_LOOKUP_SET_ID, | ||
| 493 | __NFTA_LOOKUP_MAX | 499 | __NFTA_LOOKUP_MAX |
| 494 | }; | 500 | }; |
| 495 | #define NFTA_LOOKUP_MAX (__NFTA_LOOKUP_MAX - 1) | 501 | #define NFTA_LOOKUP_MAX (__NFTA_LOOKUP_MAX - 1) |
