Home
last modified time | relevance | path

Searched refs:fib6_prefsrc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/net/
H A Dip6_route.h142 if (!f6i || !f6i->fib6_prefsrc.plen || l3mdev) in ip6_route_get_saddr()
145 if (f6i && f6i->fib6_prefsrc.plen && same_vrf) in ip6_route_get_saddr()
146 *saddr = f6i->fib6_prefsrc.addr; in ip6_route_get_saddr()
H A Dip6_fib.h188 struct rt6key fib6_prefsrc; member
473 *addr = from->fib6_prefsrc.addr; in rt6_get_prefsrc()
/openbmc/linux/net/ipv6/
H A Droute.c3826 rt->fib6_prefsrc.addr = cfg->fc_prefsrc; in ip6_route_info_create()
3827 rt->fib6_prefsrc.plen = 128; in ip6_route_info_create()
3829 rt->fib6_prefsrc.plen = 0; in ip6_route_info_create()
4605 ipv6_addr_equal(addr, &rt->fib6_prefsrc.addr) && in fib6_remove_prefsrc()
4609 rt->fib6_prefsrc.plen = 0; in fib6_remove_prefsrc()
5686 if (rt->fib6_prefsrc.plen) { in rt6_fill_node()
5688 saddr_buf = rt->fib6_prefsrc.addr; in rt6_fill_node()
/openbmc/linux/net/core/
H A Dfilter.c6088 if (res.f6i->fib6_prefsrc.plen) { in bpf_ipv6_fib_lookup()
6089 *src = res.f6i->fib6_prefsrc.addr; in bpf_ipv6_fib_lookup()