Lines Matching refs:daddr
149 remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP)) in ipip_tunnel_lookup()
153 if (remote == t->parms.iph.daddr && (t->dev->flags&IFF_UP)) in ipip_tunnel_lookup()
168 __be32 remote = parms->iph.daddr; in __ipip_bucket()
217 __be32 remote = parms->iph.daddr; in ipip_tunnel_locate()
225 if (local == t->parms.iph.saddr && remote == t->parms.iph.daddr) in ipip_tunnel_locate()
322 t = ipip_tunnel_lookup(dev_net(skb->dev), iph->daddr, iph->saddr); in ipip_err()
323 if (t == NULL || t->parms.iph.daddr == 0) in ipip_err()
356 iph->saddr, iph->daddr)) != NULL) { in ipip_rcv()
403 __be32 dst = tiph->daddr; in ipip_tunnel_xmit()
430 { .daddr = dst, in ipip_tunnel_xmit()
517 iph->daddr = rt->rt_dst; in ipip_tunnel_xmit()
547 if (iph->daddr) { in ipip_tunnel_bind_dev()
550 { .daddr = iph->daddr, in ipip_tunnel_bind_dev()
624 if (((dev->flags&IFF_POINTOPOINT) && !p.iph.daddr) || in ipip_tunnel_ioctl()
625 (!(dev->flags&IFF_POINTOPOINT) && p.iph.daddr)) { in ipip_tunnel_ioctl()
632 t->parms.iph.daddr = p.iph.daddr; in ipip_tunnel_ioctl()
634 memcpy(dev->broadcast, &p.iph.daddr, 4); in ipip_tunnel_ioctl()
725 memcpy(dev->broadcast, &tunnel->parms.iph.daddr, 4); in ipip_tunnel_init()