Home
last modified time | relevance | path

Searched refs:tiph (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dipip.c527 struct iphdr *tiph = &tunnel->parms.iph; in ipip_tunnel_xmit() local
529 u16 df = tiph->frag_off; in ipip_tunnel_xmit()
535 u32 dst = tiph->daddr; in ipip_tunnel_xmit()
559 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipip_tunnel_xmit()
571 if (tiph->frag_off) in ipip_tunnel_xmit()
640 if ((iph->ttl = tiph->ttl) == 0) in ipip_tunnel_xmit()
Dip_gre.c673 struct iphdr *tiph; in ipgre_tunnel_xmit() local
691 tiph = (struct iphdr*)skb->data; in ipgre_tunnel_xmit()
694 tiph = &tunnel->parms.iph; in ipgre_tunnel_xmit()
697 if ((dst = tiph->daddr) == 0) { in ipgre_tunnel_xmit()
737 tos = tiph->tos; in ipgre_tunnel_xmit()
744 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipgre_tunnel_xmit()
756 df = tiph->frag_off; in ipgre_tunnel_xmit()
841 if ((iph->ttl = tiph->ttl) == 0) { in ipgre_tunnel_xmit()
/linux-2.4.37.9/net/ipv6/
Dsit.c449 struct iphdr *tiph = &tunnel->parms.iph; in ipip6_tunnel_xmit() local
456 u32 dst = tiph->daddr; in ipip6_tunnel_xmit()
498 if (ip_route_output(&rt, dst, tiph->saddr, RT_TOS(tos), tunnel->parms.link)) { in ipip6_tunnel_xmit()
515 if (tiph->frag_off) in ipip6_tunnel_xmit()
594 if ((iph->ttl = tiph->ttl) == 0) in ipip6_tunnel_xmit()