Lines Matching refs:saddr
150 struct in_addr *saddr, in rxe_find_route4() argument
158 memcpy(&fl.saddr, saddr, sizeof(*saddr)); in rxe_find_route4()
173 struct in6_addr *saddr, in rxe_find_route6() argument
181 memcpy(&fl6.saddr, saddr, sizeof(*saddr)); in rxe_find_route6()
205 struct in6_addr *saddr, in rxe_find_route6() argument
296 __be32 saddr, __be32 daddr, __u8 proto, in prepare_ipv4_hdr() argument
318 iph->saddr = saddr; in prepare_ipv4_hdr()
327 struct in6_addr *saddr, struct in6_addr *daddr, in prepare_ipv6_hdr() argument
345 ip6h->saddr = *saddr; in prepare_ipv6_hdr()
355 struct in_addr *saddr = &av->sgid_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()
379 struct in6_addr *saddr = &av->sgid_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()