ef4_filter_set_ipv4_local(9)
π ef4_filter_set_ipv4_local(9) β¨
okay so this is a page from the Kernel API Manual and it's lowkey adorable because it does exactly one thing and does it slay. bestie, meet ef4_filter_set_ipv4_local β she specifies the IPv4 host, the transport protocol and the port all at once. multitasking queen π
β¨ NAME β¨
ef4_filter_set_ipv4_local β specify IPv4 host, transport protocol and port π
πΈ SYNOPSIS πΈ
int ef4_filter_set_ipv4_local (struct ef4_filter_spec *spec , u8 proto ,
__be32 host , __be16 port );
like, that's the whole vibe. returns an int, takes four things, no drama π¦
π ARGUMENTS π
specβ the Specification to initialise. this is the blank canvas, the main character, the thing you're filling in πprotoβ Transport layer protocol number. fr fr just the number, no names, no guessing β¨hostβ Local host address (network byte order). yes bestie, network byte order β do not come in here with host byte order, I'm begging π«Άportβ Local port (network byte order). same energy, same warning: network byte order π
ngl the byte-order thing is the whole plot twist of this page. bothhostandportare network byte order, and if you forget that it's giving "why is my filter matching nothing" π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/sfc/falcon/filter.h enum ef4_filter_match_flags(9)enum ef4_filter_priority(9)enum ef4_filter_flags(9)struct ef4_filter_spec(9)ef4_filter_set_ipv4_full(9)ef4_filter_set_eth_local(9)ef4_filter_set_uc_def(9)ef4_filter_set_mc_def(9)
the whole friend group honestly, go read them all, iykyk πΈ
and that's the page!! mwah, go forth and set your IPv4 local filters π
signed off with love from ./drivers/net/ethernet/sfc/falcon, dated October 2026, version vibes and all π§β¨
π¦ 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