flow_rule_h...ontrol_flags(9)
π 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 astruct 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:
flow_offload_has_one_action(9)flow_rule_is_supp_control_flags(9)flow_rule_is_supp_enc_control_flags(9)flow_rule_has_control_flags(9)flow_rule_match_has_control_flags(9)
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/netand it's dated October 2026, and the footer literally just saysflow_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
- 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