Searched refs:gw_addr (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/batman-adv/ |
D | gateway_client.c | 204 char gw_addr[18] = { '\0' }; in batadv_gw_election() local 227 sprintf(gw_addr, "%pM", next_gw->orig_node->orig); in batadv_gw_election() 259 gw_addr); in batadv_gw_election() 270 gw_addr); in batadv_gw_election()
|
/linux-6.1.9/net/ipv6/ |
D | route.c | 3317 const struct in6_addr *gw_addr, u32 tbid, in ip6_nh_lookup_table() argument 3322 .daddr = *gw_addr, in ip6_nh_lookup_table() 3351 const struct in6_addr *gw_addr = &cfg->fc_gateway; in ip6_route_check_nh_onlink() local 3355 err = ip6_nh_lookup_table(net, cfg, gw_addr, tbid, 0, &res); in ip6_route_check_nh_onlink() 3373 const struct in6_addr *gw_addr = &cfg->fc_gateway; in ip6_route_check_nh() local 3380 err = ip6_nh_lookup_table(net, cfg, gw_addr, in ip6_route_check_nh() 3394 .daddr = *gw_addr, in ip6_route_check_nh() 3426 const struct in6_addr *gw_addr = &cfg->fc_gateway; in ip6_validate_gw() local 3427 int gwa_type = ipv6_addr_type(gw_addr); in ip6_validate_gw() 3439 ipv6_chk_addr_and_flags(net, gw_addr, dev, skip_dev, 0, 0)) { in ip6_validate_gw() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2909 unsigned char gw_addr[sizeof(struct in6_addr)]; member 3203 ipv6_addr_equal(gw, (struct in6_addr *) nh->gw_addr)) in mlxsw_sp_nexthop6_group_has_nexthop() 3275 val ^= jhash(&nh->gw_addr, sizeof(nh->gw_addr), seed); in mlxsw_sp_nexthop_group_hash_obj() 4014 n = neigh_lookup(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_dead_neigh_replace() 4016 n = neigh_create(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_dead_neigh_replace() 4115 n = neigh_lookup(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_neigh_init() 4117 n = neigh_create(nh->neigh_tbl, &nh->gw_addr, nh->rif->dev); in mlxsw_sp_nexthop_neigh_init() 4297 memcpy(&nh->gw_addr, &fib_nh->fib_nh_gw4, sizeof(fib_nh->fib_nh_gw4)); in mlxsw_sp_nexthop4_init() 4774 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init() 4778 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init() [all …]
|
/linux-6.1.9/drivers/net/usb/ |
D | sierra_net.c | 150 u8 gw_addr[16]; /* NW-supplied GW address (bigendian) */ member
|