Searched refs:tiph (Results 1 – 2 of 2) sorted by relevance
| /linux/net/ipv4/ |
| H A D | ipip.c | 286 const struct iphdr *tiph = &tunnel->parms.iph; in ipip_tunnel_xmit() local 305 if (tiph->protocol != ipproto && tiph->protocol != 0) in ipip_tunnel_xmit() 316 ip_tunnel_xmit(skb, dev, tiph, ipproto); in ipip_tunnel_xmit() 360 const struct iphdr *tiph = &tunnel->parms.iph; 363 rt = ip_route_output(dev_net(ctx->dev), tiph->daddr, 0, 0, 0, 369 path->tun.src_v4.s_addr = tiph->saddr; 370 path->tun.dst_v4.s_addr = tiph->daddr;
|
| /linux/net/ipv6/ |
| H A D | sit.c | 903 const struct iphdr *tiph = &tunnel->parms.iph; in ipip6_tunnel_xmit() local 906 __be16 df = tiph->frag_off; in ipip6_tunnel_xmit() 910 __be32 dst = tiph->daddr; in ipip6_tunnel_xmit() 933 IPPROTO_IPV6, 0, dst, tiph->saddr, 0, 0, in ipip6_tunnel_xmit() 1017 ttl = tiph->ttl; in ipip6_tunnel_xmit() 1045 const struct iphdr *tiph = &tunnel->parms.iph; in sit_tunnel_xmit__() local 1052 ip_tunnel_xmit(skb, dev, tiph, ipproto); in sit_tunnel_xmit__()
|