l3mdev_link_scope_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so we're in the Kernel API Manual, bestie, and this one is l3mdev_link_scope_lookup. no cap, it's giving very specific IPv6 route-lookup energy πŸ¦‹

πŸŽ€ NAME πŸŽ€

l3mdev_link_scope_lookup β€” IPv6 route lookup based on flow for link local and multicast addresses. literally her whole job πŸ’–

✨ SYNOPSIS ✨

struct dst_entry * l3mdev_link_scope_lookup (struct net *net , struct flowi6 *fl6 );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • net β€” network namespace for device index lookup. yep, that's the context she's checking the device index in 🌸
  • fl6 β€” IPv6 flow struct for lookup. this is the flow she's working with 🫢
⚠️ okay important caveat bestie: This function does not hold refcnt on the returned dst. Caller must hold rcu_read_lock. do not skip this, fr fr 😭

πŸ”₯ SEE ALSO πŸ”₯


that's the whole vibe, bestie πŸ’œ source/version is ./net/l3mdev, dated October 2026 β€” l3mdev_link_scope_lookup(9) signing off, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from