Lines Matching refs:encap_limit
440 if (tel->encap_limit == 0) {
747 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit)
753 opt->dst_opt[4] = encap_limit;
815 * @encap_limit: encapsulation limit
832 int encap_limit,
867 if (encap_limit >= 0) {
904 if (encap_limit >= 0) {
905 init_tel_txopt(&opt, encap_limit);
946 int encap_limit = -1;
957 encap_limit = t->parms.encap_limit;
968 err = ip6_tnl_xmit2(skb, dev, dsfield, &fl, encap_limit, &mtu);
984 int encap_limit = -1;
999 if (tel->encap_limit == 0) {
1004 encap_limit = tel->encap_limit - 1;
1006 encap_limit = t->parms.encap_limit;
1017 err = ip6_tnl_xmit2(skb, dev, dsfield, &fl, encap_limit, &mtu);
1152 t->parms.encap_limit = p->encap_limit;