flow_rule_i...ontrol_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🧚


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