Lines Matching refs:saddr
169 struct in_addr *saddr = in check_addr() local
174 if (ip_hdr(skb)->daddr != saddr->s_addr) { in check_addr()
177 &saddr->s_addr); in check_addr()
181 if (ip_hdr(skb)->saddr != daddr->s_addr) { in check_addr()
183 &ip_hdr(skb)->saddr, in check_addr()
189 struct in6_addr *saddr = in check_addr() local
194 if (memcmp(&ipv6_hdr(skb)->daddr, saddr, sizeof(*saddr))) { in check_addr()
196 &ipv6_hdr(skb)->daddr, saddr); in check_addr()
200 if (memcmp(&ipv6_hdr(skb)->saddr, daddr, sizeof(*daddr))) { in check_addr()
202 &ipv6_hdr(skb)->saddr, daddr); in check_addr()
394 char saddr[sizeof(struct in6_addr)]; in rxe_rcv() local
397 sprintf(saddr, "%pI6", &ipv6_hdr(skb)->saddr); in rxe_rcv()
399 sprintf(saddr, "%pI4", &ip_hdr(skb)->saddr); in rxe_rcv()
401 sprintf(saddr, "unknown"); in rxe_rcv()
403 pr_warn_ratelimited("bad ICRC from %s\n", saddr); in rxe_rcv()