Home
last modified time | relevance | path

Searched refs:src_in (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/core/
Daddr.c246 rdma_find_ndev_for_src_ip_rcu(struct net *net, const struct sockaddr *src_in) in rdma_find_ndev_for_src_ip_rcu() argument
251 switch (src_in->sa_family) { in rdma_find_ndev_for_src_ip_rcu()
254 ((const struct sockaddr_in *)src_in)->sin_addr.s_addr, in rdma_find_ndev_for_src_ip_rcu()
263 &((const struct sockaddr_in6 *)src_in)->sin6_addr, in rdma_find_ndev_for_src_ip_rcu()
389 struct sockaddr_in *src_in = (struct sockaddr_in *)src_sock; in addr4_resolve() local
393 __be32 src_ip = src_in->sin_addr.s_addr; in addr4_resolve()
408 src_in->sin_addr.s_addr = fl4.saddr; in addr4_resolve()
422 struct sockaddr_in6 *src_in = (struct sockaddr_in6 *)src_sock; in addr6_resolve() local
430 fl6.saddr = src_in->sin6_addr; in addr6_resolve()
437 if (ipv6_addr_any(&src_in->sin6_addr)) in addr6_resolve()
[all …]
Dverbs.c715 struct sockaddr_in src_in; in ib_get_gids_from_rdma_hdr() local
723 memcpy(&src_in.sin_addr.s_addr, in ib_get_gids_from_rdma_hdr()
727 src_saddr = src_in.sin_addr.s_addr; in ib_get_gids_from_rdma_hdr()
/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c441 struct sockaddr_in *src_in, in qedr_addr4_resolve() argument
444 __be32 src_ip = src_in->sin_addr.s_addr; in qedr_addr4_resolve()
477 struct sockaddr_in6 *src_in, in qedr_addr6_resolve() argument
487 fl6.saddr = src_in->sin6_addr; in qedr_addr6_resolve()