ef4_filter_set_ipv4_full(9)
π ef4_filter_set_ipv4_full(9) π
okay so bestie, welcome to the Kernel API Manual β¨ you're literally reading the page for ef4_filter_set_ipv4_full(9) and honestly? it's giving "one function, does exactly what it says on the tin." no cap. π«Ά
πΈ NAME πΈ
ef4_filter_set_ipv4_full β specify IPv4 hosts, transport protocol and ports π
like, the whole entire vibe of this function is: you hand it a spec, you tell it the proto, both hosts, both ports, and it sets that up for you. iconic behaviour only. π
β¨ SYNOPSIS β¨
int ef4_filter_set_ipv4_full (struct ef4_filter_spec *spec , u8 proto ,
__be32 lhost , __be16 lport , __be32 rhost , __be16 rport );
she returns an int, she takes six arguments, she's booked and busy. π
π¦ ARGUMENTS π¦
specβ the specification you're initialising β¨ this is the main character fr, everything else gets written into her.protoβ the transport layer protocol number π (u8, so keep it smol).lhostβ the local host address, in network byte order π (__be32, bestie, don't forget the byte order).lportβ the local port, in network byte order πΈ (__be16).rhostβ the remote host address, in network byte order π (__be32).rportβ the remote port, in network byte order π (__be16).
bestie pls note: literally every address and port here is network byte order. that's not a suggestion, that's the assignment. π
π SEE ALSO π
the kernel file ./drivers/net/ethernet/sfc/falcon/filter.h is where the whole fam lives, and here's the group chat π«Ά:
- 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_local(9)ef4_filter_set_eth_local(9)ef4_filter_set_uc_def(9)ef4_filter_set_mc_def(9)
go read them, iykyk π§
aaaand that's the page!! mwah π this lil number is from ./drivers/net/ethernet/sfc/falcon, dated October 2026 β slay, periodt, bye bestie! πβ¨ππ¦πΈπ
π¦ 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