Lines Matching refs:gw_addr
2913 unsigned char gw_addr[sizeof(struct in6_addr)]; member
3207 ipv6_addr_equal(gw, (struct in6_addr *) nh->gw_addr)) in mlxsw_sp_nexthop6_group_has_nexthop()
3279 val ^= jhash(&nh->gw_addr, sizeof(nh->gw_addr), seed); in mlxsw_sp_nexthop_group_hash_obj()
4018 n = neigh_lookup(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_dead_neigh_replace()
4020 n = neigh_create(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_dead_neigh_replace()
4119 n = neigh_lookup(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_neigh_init()
4121 n = neigh_create(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_neigh_init()
4301 memcpy(&nh->gw_addr, &fib_nh->fib_nh_gw4, sizeof(fib_nh->fib_nh_gw4)); in mlxsw_sp_nexthop4_init()
4778 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init()
4782 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init()
5515 ipv6_addr_equal((const struct in6_addr *) &nh->gw_addr, in mlxsw_sp_rt6_nexthop()
6511 memcpy(&nh->gw_addr, &rt->fib6_nh->fib_nh_gw6, sizeof(nh->gw_addr)); in mlxsw_sp_nexthop6_init()