Lines Matching refs:dst_in
366 const struct sockaddr *dst_in, u32 seq) in fetch_ha() argument
369 (const struct sockaddr_in *)dst_in; in fetch_ha()
371 (const struct sockaddr_in6 *)dst_in; in fetch_ha()
372 const void *daddr = (dst_in->sa_family == AF_INET) ? in fetch_ha()
375 sa_family_t family = dst_in->sa_family; in fetch_ha()
392 const struct sockaddr_in *dst_in = in addr4_resolve() local
396 __be32 dst_ip = dst_in->sin_addr.s_addr; in addr4_resolve()
425 const struct sockaddr_in6 *dst_in = in addr6_resolve() local
431 fl6.daddr = dst_in->sin6_addr; in addr6_resolve()
458 const struct sockaddr *dst_in, in addr_resolve_neigh() argument
470 ret = fetch_ha(dst, addr, dst_in, seq); in addr_resolve_neigh()
477 const struct sockaddr *dst_in, in copy_src_l2_addr() argument
484 ret = rdma_translate_ip(dst_in, dev_addr); in copy_src_l2_addr()
493 if (has_gateway(dst, dst_in->sa_family) && in copy_src_l2_addr()
495 dev_addr->network = dst_in->sa_family == AF_INET ? in copy_src_l2_addr()
506 const struct sockaddr *dst_in, in rdma_set_src_addr_rcu() argument
520 ndev = rdma_find_ndev_for_src_ip_rcu(dev_net(ndev), dst_in); in rdma_set_src_addr_rcu()
525 return copy_src_l2_addr(dev_addr, dst_in, dst, ndev); in rdma_set_src_addr_rcu()
555 const struct sockaddr *dst_in, in addr_resolve() argument
590 ret = addr4_resolve(src_in, dst_in, addr, &rt); in addr_resolve()
593 ret = addr6_resolve(src_in, dst_in, addr, &dst); in addr_resolve()
599 ret = rdma_set_src_addr_rcu(addr, &ndev_flags, dst_in, dst); in addr_resolve()
607 ret = addr_resolve_neigh(dst, dst_in, addr, ndev_flags, seq); in addr_resolve()
626 struct sockaddr *src_in, *dst_in; in process_one_req() local
632 dst_in = (struct sockaddr *)&req->dst_addr; in process_one_req()
633 req->status = addr_resolve(src_in, dst_in, req->addr, in process_one_req()
671 struct sockaddr *src_in, *dst_in; in rdma_resolve_ip() local
680 dst_in = (struct sockaddr *) &req->dst_addr; in rdma_resolve_ip()
693 memcpy(dst_in, dst_addr, rdma_addr_size(dst_addr)); in rdma_resolve_ip()
701 req->status = addr_resolve(src_in, dst_in, addr, true, in rdma_resolve_ip()