Lines Matching refs:ttl
550 u8 tos, ttl; in ip_md_tunnel_xmit() local
601 ttl = key->ttl; in ip_md_tunnel_xmit()
602 if (ttl == 0) { in ip_md_tunnel_xmit()
604 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
606 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
608 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
619 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
644 u8 tos, ttl; in ip_tunnel_xmit() local
779 ttl = tnl_params->ttl; in ip_tunnel_xmit()
780 if (ttl == 0) { in ip_tunnel_xmit()
782 ttl = inner_iph->ttl; in ip_tunnel_xmit()
785 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
788 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
807 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
839 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
878 if (p->iph.ttl) in ip_tunnel_ctl()