flow_rule_i...ontrol_flags(9)
π flow_rule_is_supp_enc_control_flags β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual β¨ this one's about a lil function called flow_rule_is_supp_enc_control_flags, and yes the header got cut off as flow_rule_i...ontrol_flags(9) because apparently even manpages need a β¨momentβ¨. anyway. she's a small function. she checks things. let's go π
πΈ NAME πΈ
flow_rule_is_supp_enc_control_flags β check for supported control flags. that's it. that's the whole job. she does one thing and she does it iconically π
β¨ SYNOPSIS β¨
bool flow_rule_is_supp_enc_control_flags (const u32 supp_enc_flags ,
const u32 enc_ctrl_flags , struct netlink_ext_ack *extack );
so she takes three things and hands you back a bool. no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
supp_enc_flagsβ the encapsulation control flags that the driver supports. like, what the driver is actually down for. her comfort zone πenc_ctrl_flagsβ the encapsulation control flags that are actually present in the rule. the ones we're lowkey trying to vibe-check πextackβ the netlink extended ACK, used for reporting errors. she's the one who tells you what went wrong, so be nice to her π
π₯ RETURN π₯
true if only supported control flags are set, false otherwise. literally binary. fr fr β
ngl that's the entire contract β if something unsupported sneaks in, she's gonna say false and you're gonna have to deal with it π
π§ SEE ALSO π§
- Kernel file
./include/net/flow_offload.hβ go read her, she's got the lore π flow_offload_has_one_action(9)flow_rule_is_supp_control_flags(9)flow_rule_has_control_flags(9)flow_rule_has_enc_control_flags(9)flow_rule_match_has_control_flags(9)
shoutout to ./include/net for being the source home of all this, and to October 2026 for the timestamp β she's ahead of her time, main character energy only π
ok bye bestie, go check those flags ππ
π¦ 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