Lines Matching refs:dst_in

364 		    const struct sockaddr *dst_in, u32 seq)  in fetch_ha()  argument
367 (const struct sockaddr_in *)dst_in; in fetch_ha()
369 (const struct sockaddr_in6 *)dst_in; in fetch_ha()
370 const void *daddr = (dst_in->sa_family == AF_INET) ? in fetch_ha()
373 sa_family_t family = dst_in->sa_family; in fetch_ha()
390 const struct sockaddr_in *dst_in = in addr4_resolve() local
394 __be32 dst_ip = dst_in->sin_addr.s_addr; in addr4_resolve()
423 const struct sockaddr_in6 *dst_in = in addr6_resolve() local
429 fl6.daddr = dst_in->sin6_addr; in addr6_resolve()
456 const struct sockaddr *dst_in, in addr_resolve_neigh() argument
468 ret = fetch_ha(dst, addr, dst_in, seq); in addr_resolve_neigh()
475 const struct sockaddr *dst_in, in copy_src_l2_addr() argument
482 ret = rdma_translate_ip(dst_in, dev_addr); in copy_src_l2_addr()
491 if (has_gateway(dst, dst_in->sa_family) && in copy_src_l2_addr()
493 dev_addr->network = dst_in->sa_family == AF_INET ? in copy_src_l2_addr()
504 const struct sockaddr *dst_in, in rdma_set_src_addr_rcu() argument
518 ndev = rdma_find_ndev_for_src_ip_rcu(dev_net(ndev), dst_in); in rdma_set_src_addr_rcu()
523 return copy_src_l2_addr(dev_addr, dst_in, dst, ndev); in rdma_set_src_addr_rcu()
553 const struct sockaddr *dst_in, in addr_resolve() argument
588 ret = addr4_resolve(src_in, dst_in, addr, &rt); in addr_resolve()
591 ret = addr6_resolve(src_in, dst_in, addr, &dst); in addr_resolve()
597 ret = rdma_set_src_addr_rcu(addr, &ndev_flags, dst_in, dst); in addr_resolve()
605 ret = addr_resolve_neigh(dst, dst_in, addr, ndev_flags, seq); in addr_resolve()
624 struct sockaddr *src_in, *dst_in; in process_one_req() local
630 dst_in = (struct sockaddr *)&req->dst_addr; in process_one_req()
631 req->status = addr_resolve(src_in, dst_in, req->addr, in process_one_req()
669 struct sockaddr *src_in, *dst_in; in rdma_resolve_ip() local
678 dst_in = (struct sockaddr *) &req->dst_addr; in rdma_resolve_ip()
691 memcpy(dst_in, dst_addr, rdma_addr_size(dst_addr)); in rdma_resolve_ip()
699 req->status = addr_resolve(src_in, dst_in, addr, true, in rdma_resolve_ip()