Lines Matching refs:ttl
554 u8 tos, ttl; in ip_md_tunnel_xmit() local
605 ttl = key->ttl; in ip_md_tunnel_xmit()
606 if (ttl == 0) { in ip_md_tunnel_xmit()
608 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
610 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
612 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
623 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
648 u8 tos, ttl; in ip_tunnel_xmit() local
786 ttl = tnl_params->ttl; in ip_tunnel_xmit()
787 if (ttl == 0) { in ip_tunnel_xmit()
789 ttl = inner_iph->ttl; in ip_tunnel_xmit()
792 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
795 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
810 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
842 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
881 if (p->iph.ttl) in ip_tunnel_ctl()