ENUM NFT_DYNSET_ATTRIBUTES(9)
π enum nft_dynset_attributes(9) β the Kernel API Manual page, but make it make sense
okay bestie, so this is a page straight out of the Kernel API Manual (enum nft_dynset_attributes(9)), and it's literally just the attribute list for the dynset expression. no cap, that's it. it's giving "small but mighty" energy fr fr π«Ά
β¨ NAME β¨
enum nft_dynset_attributes β the attributes that go with the dynset expression. that's the whole pitch, she's efficient π
πΈ SYNOPSIS πΈ
here's the enum in all her glory, copy it exactly bestie, don't be clever with it:
enum nft_dynset_attributes {
NFTA_DYNSET_UNSPEC ,
NFTA_DYNSET_SET_NAME ,
NFTA_DYNSET_SET_ID ,
NFTA_DYNSET_OP ,
NFTA_DYNSET_SREG_KEY ,
NFTA_DYNSET_SREG_DATA ,
NFTA_DYNSET_TIMEOUT ,
NFTA_DYNSET_EXPR ,
NFTA_DYNSET_PAD ,
NFTA_DYNSET_FLAGS ,
NFTA_DYNSET_EXPRESSIONS ,
__NFTA_DYNSET_MAX
};
π Constants π
okay so the constants themselves, one by one, no skipping (i would never π):
NFTA_DYNSET_UNSPECβ literally no description in the source. the manpage itself says-- undescribed --. she's mysterious, she's a mystery, we respect it π«‘NFTA_DYNSET_SET_NAMEβ the name of the set you're adding data to. type isNLA_STRING. so: a string. the set's name. iconic behavior honestly.NFTA_DYNSET_SET_IDβ the unique identifier of the set within the transaction. type isNLA_U32. transactions only bestie, don't @ me.NFTA_DYNSET_OPβ the operation. typeNLA_U32. she's the main character of the whole thing tbh πNFTA_DYNSET_SREG_KEYβ the source register of the key. typeNLA_U32. key goes here πNFTA_DYNSET_SREG_DATAβ the source register of the data. typeNLA_U32. data goes here π¦NFTA_DYNSET_TIMEOUTβ the timeout value for the new element. typeNLA_U64. notice it'sU64, notU32β yes bestie, that's on purpose, clock it β°NFTA_DYNSET_EXPRβ an expression. type isNLA_NESTED: nft_expr_attributesβ so there's a whole nested thing inside, it's giving nesting dolls πͺNFTA_DYNSET_PADβ again,-- undescribed --. padding. she's just there for the vibes. no further info, and i will NOT be inventing any πNFTA_DYNSET_FLAGSβ flags. typeNLA_U32. that's the whole description. flags. we love a short queen πNFTA_DYNSET_EXPRESSIONSβ a list of expressions. typeNLA_NESTED: nft_list_attributes. note the plural: this one is a whole list, not one single expr, so don't get it twisted π__NFTA_DYNSET_MAXβ-- undescribed --. the internal max marker. don't touch, don't ask, just vibe β¨
π¦ SEE ALSO π¦
she's in the kernel file ./include/uapi/linux/netfilter/nf_tables.h as an enum β and ngl, the SEE ALSO list on this girl is enormous, like she knows everybody at the party. every single one, in order, no cuts (you know i had to list them all, i would never leave one out π):
nft_registers(9)enum nft_verdicts(9)enum nf_tables_msg_types(9)enum nft_list_attributes(9)enum nft_hook_attributes(9)enum nft_table_flags(9)enum nft_table_attributes(9)enum nft_chain_attributes(9)enum nft_rule_attributes(9)enum nft_rule_compat_flags(9)enum nft_rule_compat_attributes(9)enum nft_set_flags(9)enum nft_set_policies(9)enum nft_set_desc_attributes(9)enum nft_set_field_attributes(9)enum nft_set_attributes(9)enum nft_set_elem_flags(9)enum nft_set_elem_attributes(9)enum nft_set_elem_list_attributes(9)enum nft_data_types(9)enum nft_data_attributes(9)enum nft_verdict_attributes(9)enum nft_expr_attributes(9)enum nft_immediate_attributes(9)enum nft_bitwise_ops(9)enum nft_bitwise_attributes(9)enum nft_byteorder_ops(9)enum nft_byteorder_attributes(9)enum nft_cmp_ops(9)enum nft_cmp_attributes(9)enum nft_range_ops(9)enum nft_range_attributes(9)enum nft_lookup_attributes(9)enum nft_payload_bases(9)enum nft_payload_csum_types(9)enum nft_payload_attributes(9)enum nft_exthdr_op(9)enum nft_exthdr_attributes(9)enum nft_meta_keys(9)enum nft_rt_keys(9)enum nft_hash_types(9)enum nft_hash_attributes(9)enum nft_meta_attributes(9)enum nft_rt_attributes(9)enum nft_socket_attributes(9)enum nft_ct_keys(9)enum nft_ct_attributes(9)enum nft_offload_attributes(9)enum nft_limit_attributes(9)enum nft_connlimit_attributes(9)enum nft_counter_attributes(9)enum nft_last_attributes(9)enum nft_log_attributes(9)enum nft_log_level(9)enum nft_queue_attributes(9)enum nft_quota_attributes(9)enum nft_secmark_attributes(9)enum nft_reject_types(9)enum nft_reject_inet_code(9)enum nft_reject_attributes(9)enum nft_nat_types(9)enum nft_nat_attributes(9)enum nft_tproxy_attributes(9)enum nft_masq_attributes(9)enum nft_redir_attributes(9)enum nft_dup_attributes(9)enum nft_fwd_attributes(9)enum nft_objref_attributes(9)enum nft_gen_attributes(9)enum nft_object_attributes(9)enum nft_flowtable_flags(9)enum nft_flowtable_attributes(9)enum nft_flowtable_hook_attributes(9)enum nft_osf_attributes(9)enum nft_synproxy_attributes(9)enum nft_devices_attributes(9)enum nft_trace_attributes(9)enum nft_ng_attributes(9)
bestie real talk: three of these constants are literally marked-- undescribed --in the source (NFTA_DYNSET_UNSPEC,NFTA_DYNSET_PAD,__NFTA_DYNSET_MAX). do not go around making stuff up about them. we report what the kernel says and nothing more, periodt π
and that's the page!! π she lives under ./include/uapi/linux/netfilter, and this edition is dated October 2026 β so like, future girlie energy β anyway love u, go read nf_tables.h responsibly, mwah ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms