Lines Matching full:ttl
52 unsigned int ttl; in mpls_xmit() local
66 /* Obtain the ttl using the following set of rules. in mpls_xmit()
68 * LWT ttl propagation setting: in mpls_xmit()
69 * - disabled => use default TTL value from LWT in mpls_xmit()
70 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit()
72 * Global ttl propagation setting: in mpls_xmit()
73 * - disabled => use default TTL value from global setting in mpls_xmit()
74 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit()
78 ttl = tun_encap_info->default_ttl; in mpls_xmit()
81 ttl = net->mpls.default_ttl; in mpls_xmit()
83 ttl = ip_hdr(skb)->ttl; in mpls_xmit()
87 ttl = tun_encap_info->default_ttl; in mpls_xmit()
90 ttl = net->mpls.default_ttl; in mpls_xmit()
92 ttl = ipv6_hdr(skb)->hop_limit; in mpls_xmit()
127 ttl, 0, bos); in mpls_xmit()
205 /* TTL 0 implies propagate from IP header */ in mpls_build_state()