Lines Matching refs:ttl
561 u8 tos, ttl; in ip_md_tunnel_xmit() local
592 ttl = key->ttl; in ip_md_tunnel_xmit()
593 if (ttl == 0) { in ip_md_tunnel_xmit()
595 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
597 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
599 ttl = ip4_dst_hoplimit(&rt->dst); in ip_md_tunnel_xmit()
613 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, in ip_md_tunnel_xmit()
633 u8 tos, ttl; in ip_tunnel_xmit() local
759 ttl = tnl_params->ttl; in ip_tunnel_xmit()
760 if (ttl == 0) { in ip_tunnel_xmit()
762 ttl = inner_iph->ttl; in ip_tunnel_xmit()
765 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
768 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
787 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, in ip_tunnel_xmit()
819 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
858 if (p->iph.ttl) in ip_tunnel_ioctl()