Lines Matching full:ttl
568 u8 tos, ttl; in ip_md_tunnel_xmit() local
624 ttl = key->ttl; in ip_md_tunnel_xmit()
625 if (ttl == 0) { in ip_md_tunnel_xmit()
627 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
629 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
631 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
642 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
668 u8 tos, ttl; in ip_tunnel_xmit() local
807 ttl = tnl_params->ttl; in ip_tunnel_xmit()
808 if (ttl == 0) { in ip_tunnel_xmit()
810 ttl = inner_iph->ttl; in ip_tunnel_xmit()
813 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
816 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
831 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
863 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
902 if (p->iph.ttl) in ip_tunnel_ctl()