get_mangled_key(9)
β¨ NAME β¨
okay so bestie, this is get_mangled_key(9) from the Kernel API Manual π
and it does exactly what it says: mangles the key if a mangle act exists. That's the whole assignment, no cap π«Ά
πΈ SYNOPSIS πΈ
void * get_mangled_key (struct flow_rule *rule , void *buf , u32 offset
, size_t key_sz , enum flow_action_mangle_base htype );
π ARGUMENTS π
ruleβ the rule that carries the actions, like it's the main character holding the action bag πbufβ pointer to the key that's getting mangled β¨offsetβ used to adjust the mangled offset in the L2/L3/L4 header π§key_szβ the key size, periodt πhtypeβ the mangling type, iykyk π
π DESCRIPTION π
It returns buf, which is where the mangled key stores. That's literally the whole glow-up: the return value is the buffer where the mangled key lives π«Ά
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/netronome/nfp/flower/conntrack.cπ get_hashentry(9)π
and for the cute sign-off: the page footer says source/version ./drivers/net/ethernet/netrono... and date October 2026 π
π¦ 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