Lines Matching refs:saddr
108 if (local == t->parms.iph.saddr &&
123 if (local == t->parms.iph.saddr &&
139 __be32 local = parms->iph.saddr;
207 memcpy(dev->dev_addr, &t->parms.iph.saddr, 4);
232 __be32 local = parms->iph.saddr;
242 if (local == t->parms.iph.saddr &&
487 p = __ipip6_tunnel_locate_prl(t, iph->saddr);
494 const struct in6_addr *addr6 = &ipv6_hdr(skb)->saddr;
497 (addr6->s6_addr32[3] == iph->saddr) &&
563 iph->daddr, iph->saddr, sifindex);
654 if (unlikely(is_spoofed_6rd(tunnel, iph->saddr, &ipv6h->saddr))) {
656 &iph->saddr, &ipv6h->saddr,
668 &iph->saddr, &ipv6h->saddr,
682 iph->saddr, iph->daddr, sifindex);
712 &iph->saddr, iph->tos);
760 iph->saddr, iph->daddr, sifindex);
937 0, dst, tiph->saddr, 0, 0,
940 rt = dst_cache_get_ip4(&tunnel->dst_cache, &fl4.saddr);
947 dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst, fl4.saddr);
1033 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl,
1109 iph->daddr, iph->saddr,
1145 t->parms.iph.saddr = p->iph.saddr;
1147 memcpy(t->dev->dev_addr, &p->iph.saddr, 4);
1511 parms->iph.saddr = nla_get_be32(data[IFLA_IPTUN_LOCAL]);
1753 nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) ||