Home
last modified time | relevance | path

Searched refs:nhc_scope (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/net/
H A Dip_fib.h85 unsigned char nhc_scope; member
120 #define fib_nh_scope nh_common.nhc_scope
/openbmc/linux/net/ipv4/
H A Dfib_frontend.c392 ret = FIB_RES_NHC(res)->nhc_scope >= RT_SCOPE_HOST; in __fib_validate_source()
404 ret = FIB_RES_NHC(res)->nhc_scope >= RT_SCOPE_HOST; in __fib_validate_source()
H A Droute.c1573 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
2576 nhc->nhc_scope == RT_SCOPE_LINK))) { in __mkroute_output()
H A Dnexthop.c744 nhm->nh_scope = nhi->fib_nhc.nhc_scope; in nh_fill_node()
2626 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
H A Dfib_semantics.c2090 if (!nhc->nhc_gw_family || nhc->nhc_scope != RT_SCOPE_LINK) in fib_select_default()