Lines Matching refs:daddr
151 struct in_addr *daddr) in rxe_find_route4() argument
159 memcpy(&fl.daddr, daddr, sizeof(*daddr)); in rxe_find_route4()
164 pr_err_ratelimited("no route to %pI4\n", &daddr->s_addr); in rxe_find_route4()
174 struct in6_addr *daddr) in rxe_find_route6() argument
182 memcpy(&fl6.daddr, daddr, sizeof(*daddr)); in rxe_find_route6()
187 pr_err_ratelimited("no route to %pI6\n", daddr); in rxe_find_route6()
192 pr_err("no route to %pI6\n", daddr); in rxe_find_route6()
206 struct in6_addr *daddr) in rxe_find_route6() argument
296 __be32 saddr, __be32 daddr, __u8 proto, in prepare_ipv4_hdr() argument
317 iph->daddr = daddr; in prepare_ipv4_hdr()
327 struct in6_addr *saddr, struct in6_addr *daddr, in prepare_ipv6_hdr() argument
344 ip6h->daddr = *daddr; in prepare_ipv6_hdr()
356 struct in_addr *daddr = &av->dgid_addr._sockaddr_in.sin_addr; in prepare4() local
358 dst = rxe_find_route4(rxe->ndev, saddr, daddr); in prepare4()
364 if (!memcmp(saddr, daddr, sizeof(*daddr))) in prepare4()
370 prepare_ipv4_hdr(dst, skb, saddr->s_addr, daddr->s_addr, IPPROTO_UDP, in prepare4()
380 struct in6_addr *daddr = &av->dgid_addr._sockaddr_in6.sin6_addr; in prepare6() local
382 dst = rxe_find_route6(rxe->ndev, saddr, daddr); in prepare6()
388 if (!memcmp(saddr, daddr, sizeof(*daddr))) in prepare6()
394 prepare_ipv6_hdr(dst, skb, saddr, daddr, IPPROTO_UDP, in prepare6()