Lines Matching full:ttl
52 unsigned int ttl; in mpls_xmit() local
68 /* Obtain the ttl using the following set of rules. in mpls_xmit()
70 * LWT ttl propagation setting: in mpls_xmit()
71 * - disabled => use default TTL value from LWT in mpls_xmit()
72 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit()
74 * Global ttl propagation setting: in mpls_xmit()
75 * - disabled => use default TTL value from global setting in mpls_xmit()
76 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit()
80 ttl = tun_encap_info->default_ttl; in mpls_xmit()
83 ttl = net->mpls.default_ttl; in mpls_xmit()
85 ttl = ip_hdr(skb)->ttl; in mpls_xmit()
89 ttl = tun_encap_info->default_ttl; in mpls_xmit()
92 ttl = net->mpls.default_ttl; in mpls_xmit()
94 ttl = ipv6_hdr(skb)->hop_limit; in mpls_xmit()
129 ttl, 0, bos); in mpls_xmit()
207 /* TTL 0 implies propagate from IP header */ in mpls_build_state()