Lines Matching refs:daddr
166 remote != t->parms.iph.daddr || in ip_tunnel_lookup()
180 if (remote != t->parms.iph.daddr || in ip_tunnel_lookup()
198 if ((local != t->parms.iph.saddr || t->parms.iph.daddr != 0) && in ip_tunnel_lookup()
199 (local != t->parms.iph.daddr || !ipv4_is_multicast(local))) in ip_tunnel_lookup()
220 t->parms.iph.daddr != 0 || in ip_tunnel_lookup()
249 if (parms->iph.daddr && !ipv4_is_multicast(parms->iph.daddr)) in ip_bucket()
250 remote = parms->iph.daddr; in ip_bucket()
277 __be32 remote = parms->iph.daddr; in ip_tunnel_find()
287 remote == t->parms.iph.daddr && in ip_tunnel_find()
344 __be32 daddr, __be32 saddr, in init_tunnel_flow() argument
349 fl4->daddr = daddr; in init_tunnel_flow()
368 if (iph->daddr) { in ip_tunnel_bind_dev()
372 init_tunnel_flow(&fl4, iph->protocol, iph->daddr, in ip_tunnel_bind_dev()
431 if (ipv4_is_multicast(iph->daddr)) { in ip_tunnel_rcv()
566 fl4->saddr, fl4->daddr, skb->len); in fou_build_header()
621 if ((tunnel->parms.iph.daddr && in tnl_update_pmtu()
622 !ipv4_is_multicast(tunnel->parms.iph.daddr)) || in tnl_update_pmtu()
654 connected = (tunnel->parms.iph.daddr != 0); in ip_tunnel_xmit()
656 dst = tnl_params->daddr; in ip_tunnel_xmit()
667 dst = rt_nexthop(rt, inner_iph->daddr); in ip_tunnel_xmit()
677 &ipv6_hdr(skb)->daddr); in ip_tunnel_xmit()
685 addr6 = &ipv6_hdr(skb)->daddr; in ip_tunnel_xmit()
788 err = iptunnel_xmit(skb->sk, rt, skb, fl4.saddr, fl4.daddr, protocol, in ip_tunnel_xmit()
812 t->parms.iph.daddr = p->iph.daddr; in ip_tunnel_update()
817 memcpy(dev->broadcast, &p->iph.daddr, 4); in ip_tunnel_update()
890 if (ipv4_is_multicast(p->iph.daddr)) in ip_tunnel_ioctl()
892 else if (p->iph.daddr) in ip_tunnel_ioctl()
1105 if (ipv4_is_multicast(p->iph.daddr)) in ip_tunnel_changelink()
1107 else if (p->iph.daddr) in ip_tunnel_changelink()