ENUM NFNL_HOOK_ATTRIBUTES(9)
π enum nfnl_hook_attributes(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for enum nfnl_hook_attributes, and it's literally the netfilter hook netlink attributes situation. yes that's a mouthful, no I will not be shortening it π
β¨ NAME β¨
enum nfnl_hook_attributes β netfilter hook netlink attributes π¦
πΈ SYNOPSIS πΈ
enum nfnl_hook_attributes {
NFNLA_HOOK_UNSPEC ,
NFNLA_HOOK_HOOKNUM ,
NFNLA_HOOK_PRIORITY ,
NFNLA_HOOK_DEV ,
NFNLA_HOOK_FUNCTION_NAME ,
NFNLA_HOOK_MODULE_NAME ,
NFNLA_HOOK_CHAIN_INFO ,
__NFNLA_HOOK_MAX
};
like, that's the whole enum, no cap π
π Constants π
okay so here's the vibe check on every single one of these, and yes we're doing all of them π«Ά
NFNLA_HOOK_UNSPECβ bestie, the original literally just says -- undescribed -- π so that's all I got. it's the unspecified one. iconic in its mystery.NFNLA_HOOK_HOOKNUMβ the netfilter hook number, typed asNLA_U32β¨NFNLA_HOOK_PRIORITYβ the netfilter hook priority, alsoNLA_U32πNFNLA_HOOK_DEVβ the netdevice name, and this one'sNLA_STRINGπΈNFNLA_HOOK_FUNCTION_NAMEβ the hook function name,NLA_STRING, slay π¦NFNLA_HOOK_MODULE_NAMEβ the kernel module that registered this hook,NLA_STRINGβ like, which module is the main character here πNFNLA_HOOK_CHAIN_INFOβ basechain hook metadata,NLA_NESTED, and it's giving nested energy fr fr π__NFNLA_HOOK_MAXβ again with the -- undescribed -- π it's a mystery, we love that for it
π₯ SEE ALSO π₯
go look at the kernel file ./include/uapi/linux/netfilter/nfnetlink_hook.h β that's where all of this actually lives π
and then these other icons:
enum nfnl_hook_chain_info_attributes(9)enum nfnl_hook_chaintype(9)enum nfnl_hook_bpf_attributes(9)
okay that's the whole page, you ate that honestly π this came out of ./include/uapi/linux/netfilter and it's dated October 2026, so like, mark your calendars bestie βπ
π¦ 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