flow_rule_h...ontrol_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… flow_rule_has_enc_control_flags(9) β€” like, the Kernel API Manual, bestie ✨

okay so first things first, the page header says flow_rule_h...ontrol_flags(9) and the manual is the Kernel API Manual β€” yes it's truncated, no we're not gonna fix it, it's giving "my name is in the group chat as 'flow_rule_h...'" energy and honestly? iconic. πŸ™ˆ


✨ NAME ✨

flow_rule_has_enc_control_flags β€” check for presence of any control flags πŸŽ€

like literally that's the whole job. it checks if there are any control flags present. that's it. that's the function. slay. πŸ’–


🌸 SYNOPSIS 🌸

bool flow_rule_has_enc_control_flags (const u32 enc_ctrl_flags , struct
netlink_ext_ack *extack );

she takes two things and she gives you back a bool, periodt. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • enc_ctrl_flags β€” the encapsulation control flags present in rule ✨ like, whatever flags the rule is carrying, this is where they live. const u32, so hands off, bestie, we're just looking. πŸ”
  • extack β€” the netlink extended ACK for reporting errors. it's a struct netlink_ext_ack * and it's the messenger that tells you what went wrong if something goes wrong. main character energy for error reporting fr fr πŸ’…

πŸŽ€ RETURN πŸŽ€

true if control flags are set, false otherwise. 🌈

that's it. two outcomes. binary. no in-between. no nuance. she is decisive and we love that for her. ⭐


πŸ’œ SEE ALSO πŸ’œ

the kernel file is ./include/net/flow_offload.h and if you want the whole friend group, here they are, no cap:

ngl that's a whole squad of control-flag-checking besties and you should absolutely go say hi to all of them 🫢


lowkey reminder: this page lives in ./include/net and it's dated October 2026, and the footer literally just says flow_rule_h...ontrol_flags(9) again because the truncation said "I'm not done being iconic." πŸ˜­πŸ’€

okay that's the whole page, you ate that, go check some control flags bestie, mwah πŸ’‹πŸŒΈ and yeah β€” footer said ./include/net, October 2026, flow_rule_h...ontrol_flags(9), Kernel API Manual, so there you go, that's the sign-off, love you bye πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from