ENUM NFT_TABLE_ATTRIBUTES(9)
β¨ enum nft_table_attributes(9) β¨
okay bestie, welcome to the Kernel API Manual π
this one's all about enum nft_table_attributes, which is literally the netlink attribute club for nf_tables tables. yes, tables. like the actual tables. no cap, this is where the whole nf_tables situation starts π
πΈ NAME πΈ
enum nft_table_attributes β the nf_tables table netlink attributes, i.e. the little labelled boxes that get shipped over netlink when the kernel talks about a table π¦
β¨ SYNOPSIS β¨
enum nft_table_attributes {
NFTA_TABLE_UNSPEC ,
NFTA_TABLE_NAME ,
NFTA_TABLE_FLAGS ,
NFTA_TABLE_USE ,
NFTA_TABLE_HANDLE ,
NFTA_TABLE_PAD ,
NFTA_TABLE_USERDATA ,
NFTA_TABLE_OWNER ,
__NFTA_TABLE_MAX
};
look at that list, it's giving organized queen energy π every member is a separate attribute tag, and the last one is the sneaky internal boundary marker, iykyk.
π¦ CONSTANTS π¦
the roster, one by one
NFTA_TABLE_UNSPECβ honestly?-- undescribed --. the manpage itself has nothing to say here, so neither do I πNFTA_TABLE_NAMEβ the name of the table, carried asNLA_STRINGπNFTA_TABLE_FLAGSβ a bitmask ofenum nft_table_flags, carried asNLA_U32β¨NFTA_TABLE_USEβ how many chains live in this table, carried asNLA_U32π₯NFTA_TABLE_HANDLEβ-- undescribed --bestie, no notes in the source πNFTA_TABLE_PADβ-- undescribed --it's giving padding mystery π«ΆNFTA_TABLE_USERDATAβ user data, carried asNLA_BINARYπNFTA_TABLE_OWNERβ the owner of this table through netlink portID, carried asNLA_U32π__NFTA_TABLE_MAXβ-- undescribed --the internal "don't go past here" marker π§
ngl those -- undescribed -- ones aren't a typo, that's genuinely what the source says. I'm not out here inventing lore π
β SEE ALSO β
okay this section ate and left absolutely no crumbs β it's a whole friend group of kernel API pages, plus the file they all live in. here's every single one, no skipping, periodt:
- Kernel file
./include/uapi/linux/netfilter/nf_tables.henum 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_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_dynset_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)
that's the whole squad, 82 links deep, and they all live under ./include/uapi/linux/netfilter π§
that's the page bestie!! π«Ά go read your netfilter headers, drink some water, and remember: every attribute is a little gift wrapped in netlink π
this masterpiece dropped October 2026, sourced straight from ./include/uapi/linux/netfilter, part of the Kernel API Manual β mwah, sending love from the kernel sources πβ¨π
π¦ 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