Lines Matching refs:encap_limit
515 if (tel->encap_limit == 0) {
991 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit)
997 opt->dst_opt[4] = encap_limit;
1069 * @encap_limit: encapsulation limit
1084 struct flowi6 *fl6, int encap_limit, __u32 *pmtu,
1189 if (encap_limit >= 0) {
1265 if (encap_limit >= 0) {
1266 init_tel_txopt(&opt, encap_limit);
1297 int encap_limit = -1;
1339 encap_limit = t->parms.encap_limit;
1350 if (tel->encap_limit == 0) {
1355 encap_limit = tel->encap_limit - 1;
1399 err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu,
1541 t->parms.encap_limit = p->encap_limit;
1576 p->encap_limit = u->encap_limit;
1590 u->encap_limit = p->encap_limit;
1987 parms->encap_limit = nla_get_u8(data[IFLA_IPTUN_ENCAP_LIMIT]);
2127 nla_put_u8(skb, IFLA_IPTUN_ENCAP_LIMIT, parm->encap_limit) ||