Searched refs:src_in (Results 1 – 3 of 3) sorted by relevance
246 rdma_find_ndev_for_src_ip_rcu(struct net *net, const struct sockaddr *src_in) in rdma_find_ndev_for_src_ip_rcu() argument251 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() local393 __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() local430 fl6.saddr = src_in->sin6_addr; in addr6_resolve()437 if (ipv6_addr_any(&src_in->sin6_addr)) in addr6_resolve()[all …]
715 struct sockaddr_in src_in; in ib_get_gids_from_rdma_hdr() local723 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()
441 struct sockaddr_in *src_in, in qedr_addr4_resolve() argument444 __be32 src_ip = src_in->sin_addr.s_addr; in qedr_addr4_resolve()477 struct sockaddr_in6 *src_in, in qedr_addr6_resolve() argument487 fl6.saddr = src_in->sin6_addr; in qedr_addr6_resolve()