Lines Matching refs:ttl
558 u8 tos, ttl; in ip_md_tunnel_xmit() local
609 ttl = key->ttl; in ip_md_tunnel_xmit()
610 if (ttl == 0) { in ip_md_tunnel_xmit()
612 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
614 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
616 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
630 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
655 u8 tos, ttl; in ip_tunnel_xmit() local
790 ttl = tnl_params->ttl; in ip_tunnel_xmit()
791 if (ttl == 0) { in ip_tunnel_xmit()
793 ttl = inner_iph->ttl; in ip_tunnel_xmit()
796 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
799 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
818 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
850 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
889 if (p->iph.ttl) in ip_tunnel_ioctl()