ENUM NFT_OSF_ATTRIBUTES(9)
π enum nft_osf_attributes(9) β ok bestie, welcome to the Kernel API Manual β¨
So this page is literally all about enum nft_osf_attributes β the nftables osf expression netlink attributes. Yes it's a whole enum, yes it's iconic, no we're not skipping it π«Ά
β¨ NAME β¨
enum nft_osf_attributes β the nftables osf expression netlink attributes. that's the whole vibe, that's the whole name π
π¦ SYNOPSIS π¦
ok here's the shape of it, copy it exactly, no cap:
enum nft_osf_attributes {
NFTA_OSF_UNSPEC ,
NFTA_OSF_DREG ,
NFTA_OSF_TTL ,
NFTA_OSF_FLAGS ,
__NFTA_OSF_MAX
};
look at her. five whole entries. main character energy fr fr π
π Constants π
every single one, bestie, we're going through all of them:
NFTA_OSF_UNSPECβ literally no description in the source. the manpage just says-- undescribed --and honestly? relatable π that's all we know, don't come for me.NFTA_OSF_DREGβ the destination register. type isNLA_U32: nft_registers. that's where the good stuff lands πNFTA_OSF_TTLβ the value of the TTL osf option, and it's typedNLA_U8βNFTA_OSF_FLAGSβ flags. typeNLA_U32. that's it, that's the flag entry π₯__NFTA_OSF_MAXβ again,-- undescribed --in the source. she's mysterious. she's the boundary. we love her anyway πΈ
ngl if a constant says -- undescribed -- that's not me being lazy, that's literally what the manual page gives us. i'm not out here inventing lore π
π SEE ALSO π
first up, the source of truth β it lives in the kernel at ./include/uapi/linux/netfilter/nf_tables.h under that enum. go read it, it's giving homework but make it slay π
and then. okay. brace yourself. the whole friend group shows up:
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_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_synproxy_attributes(9)enum nft_devices_attributes(9)enum nft_trace_attributes(9)enum nft_ng_attributes(9)
like i said. the whole group chat. read them all, iykyk π
that's the page, bestie π
this one's stamped from ./include/uapi/linux/netfilter and dated October 2026 β go forth and enumerate your osf attributes, you absolute icon π§ββοΈπΈ
π¦ 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