Lines Matching refs:ttl
554 u8 tos, ttl; in ip_md_tunnel_xmit() local
606 ttl = key->ttl; in ip_md_tunnel_xmit()
607 if (ttl == 0) { in ip_md_tunnel_xmit()
609 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
611 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
613 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
624 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
650 u8 tos, ttl; in ip_tunnel_xmit() local
789 ttl = tnl_params->ttl; in ip_tunnel_xmit()
790 if (ttl == 0) { in ip_tunnel_xmit()
792 ttl = inner_iph->ttl; in ip_tunnel_xmit()
795 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
798 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
813 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
845 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
884 if (p->iph.ttl) in ip_tunnel_ctl()