l3mdev_link_scope_lookup(9)
π l3mdev_link_scope_lookup(9) β Kernel API Manual β¨
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 π₯
- Kernel file
./net/l3mdev/l3mdev.c l3mdev_master_ifindex_rcu(9)l3mdev_master_upper_ifindex_by_index_rcu(9)l3mdev_fib_table_rcu(9)l3mdev_fib_rule_match(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms