Lines Matching refs:fib_nh
2896 struct fib_nh *fib_nh; member
3760 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3762 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
4220 const struct fib_nh *fib_nh, in mlxsw_sp_nexthop4_ipip_type() argument
4223 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type()
4226 fib_nh->nh_parent->fib_type == RTN_UNICAST && in mlxsw_sp_nexthop4_ipip_type()
4284 struct fib_nh *fib_nh) in mlxsw_sp_nexthop4_init() argument
4286 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init()
4291 nh->key.fib_nh = fib_nh; in mlxsw_sp_nexthop4_init()
4293 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
4297 memcpy(&nh->gw_addr, &fib_nh->fib_nh_gw4, sizeof(fib_nh->fib_nh_gw4)); in mlxsw_sp_nexthop4_init()
4313 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()
4342 unsigned long event, struct fib_nh *fib_nh) in mlxsw_sp_nexthop4_event() argument
4347 key.fib_nh = fib_nh; in mlxsw_sp_nexthop4_event()
4354 mlxsw_sp_nexthop_type_init(mlxsw_sp, nh, fib_nh->fib_nh_dev); in mlxsw_sp_nexthop4_event()
5293 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway()
5316 struct fib_nh *fib_nh; in mlxsw_sp_nexthop4_group_info_init() local
5319 fib_nh = fib_info_nh(nh_grp->ipv4.fi, i); in mlxsw_sp_nexthop4_group_info_init()
5320 err = mlxsw_sp_nexthop4_init(mlxsw_sp, nh_grp, nh, fib_nh); in mlxsw_sp_nexthop4_group_info_init()
7413 fib_work->fnh_info.fib_nh); in mlxsw_sp_router_fib4_event_work()
7414 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlxsw_sp_router_fib4_event_work()
7533 fib_info_hold(fib_work->fnh_info.fib_nh->nh_parent); in mlxsw_sp_router_fib4_event()