ixgbe_ipsec_find_rx_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_ipsec_find_rx_state(9) β€” the kernel API manual page, bestie edition

okay so you're reading the ixgbe_ipsec_find_rx_state(9) page from the Kernel API Manual and honestly? iconic. this is the little helper that goes "wait, which state matches this?" and hands you back exactly what you need. let's get into it 🫢


✨ NAME ✨

ixgbe_ipsec_find_rx_state β€” find the state that matches

like, literally its whole personality is matching. iykyk πŸ’–


✨ SYNOPSIS ✨

struct xfrm_state * ixgbe_ipsec_find_rx_state (struct ixgbe_ipsec *ipsec
, __be32 *daddr , u8 proto , __be32 spi , bool ip4 );

she takes five things and returns a struct xfrm_state *, no cap ✨


✨ ARGUMENTS ✨

  • ipsec β€” pointer to the ipsec struct. your main character struct, she holds the whole situation πŸ’…
  • daddr β€” the inbound address to match. this is what you're hunting for 🎯
  • proto β€” the protocol to match πŸ¦‹
  • spi β€” the SPI to match πŸ”₯ (yep, the actual security parameter index, not a vibe)
  • ip4 β€” true if you're using an ipv4 address ⭐
ngl, ip4 being a bool and not, like, an enum is so real of it. you either are or you aren't πŸ’€

✨ DESCRIPTION ✨

returns a pointer to the matching SA state information πŸ’–

that's it. that's the whole plot. she matches, she returns the pointer, she leaves. lowkey elegant, highkey essential πŸ‘‘


✨ SEE ALSO ✨

the kernel file where all the magic lives, fr fr:

./drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c

and the whole friend group 😭 (they're literally all siblings, go read them too):


okay that's the whole page bestie, no skips, no cuts 🌸

cute little sign-off: this one's sourced from ./drivers/net/ethernet/intel/i... (the path as printed, yeah it's abbreviated, that's how the page gives it πŸ™ˆ) and it's dated October 2026 β€” so go forth, match those states, and slay πŸŽ€βœ¨πŸ’œ
πŸ“¦ where this page comes from