VAR XT_RECSEQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– var xt_recseq(9) πŸ’–

okay so welcome to the Kernel API Manual bestie β€” today’s main character is var xt_recseq(9), and it’s giving netfilter recursion realness ✨

🌸 NAME 🌸

xt_recseq β€” recursive seqcount for netfilter use πŸŒ€

✨ SYNOPSIS ✨

DECLARE_PER_CPU(seqcount_t, xt_recseq);

πŸ¦‹ Description πŸ¦‹

Packet processing changes the seqcount only if no recursion happened. no cap. So get_counters can use read_seqcount_begin/read_seqcount_retry, because we use the normal seqcount convention: Low order bit set to 1 if a writer is active. periodt πŸ’…

bestie, that low-order-bit thing is the vibe check for whether a writer is active β€” keep it exactly as stated πŸ‘‘

πŸŽ€ SEE ALSO πŸŽ€


okay that’s the whole page β€” huge cute sign-off to the source/version + date stamp: source ./include/linux/netfilter, date October 2026, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from