ENUM NFT_META_ATTRIBUTES(9)
okay so bestie, welcome to enum nft_meta_attributes(9) β yes that's the whole title, and yes it's from the Kernel API Manual, section 9, no cap. This is the netlink attribute enum for the nf_tables meta expression, and we're gonna read it together like it's the group chat π
πΈ NAME πΈ
enum nft_meta_attributes β nf_tables meta expression netlink attributes β¨
β¨ SYNOPSIS β¨
enum nft_meta_attributes {
NFTA_META_UNSPEC ,
NFTA_META_DREG ,
NFTA_META_KEY ,
NFTA_META_SREG ,
__NFTA_META_MAX
};
like, that's the whole struct, and it is giving "short but iconic" π
π CONSTANTS π
the constants are literally the main character here, so let's go one by one π«Ά
NFTA_META_UNSPECβ the source just hits you with-- undescribed --π that's it, that's the description, we know nothing and we respect itNFTA_META_DREGβ the destination register, typedNLA_U32π―NFTA_META_KEYβ the meta data item to load, and it's anNLA_U32, specifically anft_meta_keyssituation, iykyk π₯NFTA_META_SREGβ the source register, alsoNLA_U32π₯__NFTA_META_MAXβ another-- undescribed --bestie, the lore is simply not there π
π¦ SEE ALSO π¦
first up, the kernel file itself, and yes it's exactly this:
Kernel file ./include/uapi/linux/netfilter/nf_tables.h enum
then the whole extended friend group of enums, and we are not skipping a single one, bestie, not one π
nft_registers(9)nft_verdicts(9)nf_tables_msg_types(9)nft_list_attributes(9)nft_hook_attributes(9)nft_table_flags(9)nft_table_attributes(9)nft_chain_attributes(9)nft_rule_attributes(9)nft_rule_compat_flags(9)nft_rule_compat_attributes(9)nft_set_flags(9)nft_set_policies(9)nft_set_desc_attributes(9)nft_set_field_attributes(9)nft_set_attributes(9)nft_set_elem_flags(9)nft_set_elem_attributes(9)nft_set_elem_list_attributes(9)nft_data_types(9)nft_data_attributes(9)nft_verdict_attributes(9)nft_expr_attributes(9)nft_immediate_attributes(9)nft_bitwise_ops(9)nft_bitwise_attributes(9)nft_byteorder_ops(9)nft_byteorder_attributes(9)nft_cmp_ops(9)nft_cmp_attributes(9)nft_range_ops(9)nft_range_attributes(9)nft_lookup_attributes(9)nft_dynset_attributes(9)nft_payload_bases(9)nft_payload_csum_types(9)nft_payload_attributes(9)nft_exthdr_op(9)nft_exthdr_attributes(9)nft_meta_keys(9)nft_rt_keys(9)nft_hash_types(9)nft_hash_attributes(9)nft_rt_attributes(9)nft_socket_attributes(9)nft_ct_keys(9)nft_ct_attributes(9)nft_offload_attributes(9)nft_limit_attributes(9)nft_connlimit_attributes(9)nft_counter_attributes(9)nft_last_attributes(9)nft_log_attributes(9)nft_log_level(9)nft_queue_attributes(9)nft_quota_attributes(9)nft_secmark_attributes(9)nft_reject_types(9)nft_reject_inet_code(9)nft_reject_attributes(9)nft_nat_types(9)nft_nat_attributes(9)nft_tproxy_attributes(9)nft_masq_attributes(9)nft_redir_attributes(9)nft_dup_attributes(9)nft_fwd_attributes(9)nft_objref_attributes(9)nft_gen_attributes(9)nft_object_attributes(9)nft_flowtable_flags(9)nft_flowtable_attributes(9)nft_flowtable_hook_attributes(9)nft_osf_attributes(9)nft_synproxy_attributes(9)nft_devices_attributes(9)nft_trace_attributes(9)nft_ng_attributes(9)
that's the whole thing, bestie, we ate and left zero crumbs π source vibes come from ./include/uapi/linux/netfilter, dated October 2026, and that's the enum nft_meta_attributes(9) page β periodt πβ¨
π¦ 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