Lines Matching refs:fib_nh
3048 struct fib_nh *fib_nh; member
3932 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3934 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
4404 const struct fib_nh *fib_nh, in mlxsw_sp_nexthop4_ipip_type() argument
4407 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type()
4410 fib_nh->nh_parent->fib_type == RTN_UNICAST && in mlxsw_sp_nexthop4_ipip_type()
4490 struct fib_nh *fib_nh) in mlxsw_sp_nexthop4_init() argument
4492 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init()
4497 nh->key.fib_nh = fib_nh; in mlxsw_sp_nexthop4_init()
4499 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
4503 memcpy(&nh->gw_addr, &fib_nh->fib_nh_gw4, sizeof(fib_nh->fib_nh_gw4)); in mlxsw_sp_nexthop4_init()
4519 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()
4548 unsigned long event, struct fib_nh *fib_nh) in mlxsw_sp_nexthop4_event() argument
4553 key.fib_nh = fib_nh; in mlxsw_sp_nexthop4_event()
4560 mlxsw_sp_nexthop_type_init(mlxsw_sp, nh, fib_nh->fib_nh_dev); in mlxsw_sp_nexthop4_event()
5516 const struct fib_nh *nh = fib_info_nh(fi, 0); in mlxsw_sp_fi_is_gateway()
5539 struct fib_nh *fib_nh; in mlxsw_sp_nexthop4_group_info_init() local
5542 fib_nh = fib_info_nh(nh_grp->ipv4.fi, i); in mlxsw_sp_nexthop4_group_info_init()
5543 err = mlxsw_sp_nexthop4_init(mlxsw_sp, nh_grp, nh, fib_nh); in mlxsw_sp_nexthop4_group_info_init()
7640 fib_work->fnh_info.fib_nh); in mlxsw_sp_router_fib4_event_work()
7641 fib_info_put(fib_work->fnh_info.fib_nh->nh_parent); in mlxsw_sp_router_fib4_event_work()
7760 fib_info_hold(fib_work->fnh_info.fib_nh->nh_parent); in mlxsw_sp_router_fib4_event()