Home
last modified time | relevance | path

Searched refs:nh_scope (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/decnet/
Ddn_fib.c125 nh->nh_scope != onh->nh_scope || in dn_fib_nh_comp()
216 nh->nh_scope = RT_SCOPE_LINK; in dn_fib_check_nh()
234 nh->nh_scope = res.scope; in dn_fib_check_nh()
260 nh->nh_scope = RT_SCOPE_HOST; in dn_fib_check_nh()
365 nh->nh_scope = RT_SCOPE_NOWHERE; in dn_fib_create_info()
722 nh->nh_scope != scope) { in dn_fib_sync_down()
Ddn_route.c877 DN_FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) in dn_rt_set_next_hop()
/Linux-v4.19/net/ipv4/
Dfib_semantics.c270 nh->nh_scope != onh->nh_scope || in nh_comp()
817 nh->nh_scope = RT_SCOPE_LINK; in fib_check_nh()
863 nh->nh_scope = res.scope; in fib_check_nh()
895 nh->nh_scope = RT_SCOPE_HOST; in fib_check_nh()
1216 nh->nh_scope = RT_SCOPE_NOWHERE; in fib_create_info()
1554 nexthop_nh->nh_scope != scope) { in fib_sync_down_dev()
1631 next_fi->fib_nh[0].nh_scope != RT_SCOPE_LINK) in fib_select_default()
1739 if (nh->nh_scope == RT_SCOPE_LINK) { in fib_good_nh()
Dfib_frontend.c383 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()
395 ret = FIB_RES_NH(res).nh_scope >= RT_SCOPE_HOST; in __fib_validate_source()
Droute.c1533 if (nh->nh_gw && nh->nh_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
2264 nh->nh_scope == RT_SCOPE_LINK))) { in __mkroute_output()
/Linux-v4.19/include/net/
Ddn_fib.h22 unsigned char nh_scope; member
Dip_fib.h84 unsigned char nh_scope; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3692 return fi->fib_nh->nh_scope == RT_SCOPE_LINK || in mlxsw_sp_fi_is_gateway()