dst_cache_get_ip4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dst_cache_get_ip4 πŸ’–

okay so welcome to the Kernel API Manual entry for dst_cache_get_ip4, bestie. its whole job is to perform a cache lookup and fetch the ipv4 source address. that's the vibe. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact signature, no cap:

struct rtable * dst_cache_get_ip4 (struct dst_cache *dst_cache , __be32
       *saddr );

it returns a struct rtable *. slay.

πŸŽ€ ARGUMENTS πŸŽ€

  • dst_cache β€” the cache. literally the cache you're looking in, bestie. πŸ’…
  • saddr β€” the return value for the retrieved source address. it's the spot where the source address comes back to you. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so the big rule: local BH must be disabled. not "maybe", not "if you feel like it" β€” must. mandatory. periodt. πŸ’€

🌈 SEE ALSO 🌈

go check out the Kernel file ./include/net/dst_cache.h and these iconic besties:

okay bye bestie πŸ’– this page is from ./include/net, dated October 2026, and it's the dst_cache_get_ip4(9) page β€” periodt. 🌸

πŸ“¦ where this page comes from