ef4_filter_set_ipv4_full(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🫢:

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