flow_rule_i...ontrol_flags(9)
π flow_rule_is_supp_control_flags β a Kernel API Manual moment β¨
okay so bestie, picture this: you're deep in the kernel, you've got a flow rule in front of you, and you just need to know if the control flags on it are, like, allowed. That's the whole gig of flow_rule_is_supp_control_flags. It's from the Kernel API Manual, section 9, and it is literally the vibe check for control flags π
β¨ NAME β¨
flow_rule_is_supp_control_flags β check for supported control flags π
like, that's it. that's the function. it checks whether the control flags are supported. no cap.
πΈ SYNOPSIS πΈ
bool flow_rule_is_supp_control_flags (const u32 supp_flags , const u32
ctrl_flags , struct netlink_ext_ack *extack );
three args in, one bool out. iconic signature tbh π
π¦ ARGUMENTS π¦
supp_flagsβ the control flags that the driver supports. this is the "what we're actually cool with" list π«Άctrl_flagsβ the control flags that are actually present in the rule. the "what showed up to the party" list πextackβ the netlink extended ACK, used for reporting errors. so when something goes wrong, this is the one that tells the story π
π₯ RETURN π₯
true if only supported control flags are set β like, every single one of them passed the check π
false otherwise. something snuck in that shouldn't be there. not slay. π
π SEE ALSO π
go read these next, fr fr β they're all in the kernel file ./include/net/flow_offload.h:
flow_offload_has_one_action(9)flow_rule_is_supp_enc_control_flags(9)flow_rule_has_control_flags(9)flow_rule_has_enc_control_flags(9)flow_rule_match_has_control_flags(9)
bestie note: this whole page lives under ./include/net, so that's where you go looking when you wanna read the real thing π§
and that's the page!! mwah π sourced straight from the ./include/net corner of the kernel, dated October 2026, flow_rule_i...ontrol_flags(9) and all its truncated-title glory β she ate and left no crumbs πβ¨
π¦ 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