dst_cache_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dst_cache_get(9) β€” Kernel API Manual πŸ’–

πŸŽ€ NAME πŸŽ€

dst_cache_get β€” perform cache lookup. That's the whole gig, bestie, and honestly? Iconic. πŸ’…


✨ SYNOPSIS ✨

The signature is giving exactly this, no cap:

struct dst_entry * dst_cache_get (struct dst_cache *dst_cache );

🌸 ARGUMENTS 🌸

  • dst_cache β€” the cache. That's it. The one and only argument, and yes, it's literally the cache. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea: if the caller needs the source address that's gonna be used when xmitting to the cached dst, that's when it should use dst_cache_get_ip4. Simple as that. ✨

🚨 Caveat, bestie: local BH must be disabled. This is not a vibe-check situation β€” it's literally required. Periodt. πŸ’€

πŸ’€ SEE ALSO πŸ’€

Kernel file ./include/net/dst_cache.h β€” that's the home base, iykyk. Then go say hi to the whole squad:


mwah πŸ’‹ β€” source/version is ./include/net, the date is October 2026, and the page is dst_cache_get(9). Bye bestie! πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from