ENUM NFT_DYNSET_ATTRIBUTES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 is NLA_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 is NLA_U32. transactions only bestie, don't @ me.
  • NFTA_DYNSET_OP β€” the operation. type NLA_U32. she's the main character of the whole thing tbh πŸ‘‘
  • NFTA_DYNSET_SREG_KEY β€” the source register of the key. type NLA_U32. key goes here πŸ”‘
  • NFTA_DYNSET_SREG_DATA β€” the source register of the data. type NLA_U32. data goes here πŸ“¦
  • NFTA_DYNSET_TIMEOUT β€” the timeout value for the new element. type NLA_U64. notice it's U64, not U32 β€” yes bestie, that's on purpose, clock it ⏰
  • NFTA_DYNSET_EXPR β€” an expression. type is NLA_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. type NLA_U32. that's the whole description. flags. we love a short queen πŸŽ€
  • NFTA_DYNSET_EXPRESSIONS β€” a list of expressions. type NLA_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