Lines Matching refs:encap_limit
515 if (tel->encap_limit == 0) { in ip6_tnl_err()
976 static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) in init_tel_txopt() argument
982 opt->dst_opt[4] = encap_limit; in init_tel_txopt()
1069 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, in ip6_tnl_xmit() argument
1175 if (encap_limit >= 0) { in ip6_tnl_xmit()
1251 if (encap_limit >= 0) { in ip6_tnl_xmit()
1252 init_tel_txopt(&opt, encap_limit); in ip6_tnl_xmit()
1283 int encap_limit = -1; in ipxip6_tnl_xmit() local
1325 encap_limit = t->parms.encap_limit; in ipxip6_tnl_xmit()
1336 if (tel->encap_limit == 0) { in ipxip6_tnl_xmit()
1341 encap_limit = tel->encap_limit - 1; in ipxip6_tnl_xmit()
1385 err = ip6_tnl_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, in ipxip6_tnl_xmit()
1528 t->parms.encap_limit = p->encap_limit; in ip6_tnl_change()
1563 p->encap_limit = u->encap_limit; in ip6_tnl_parm_from_user()
1577 u->encap_limit = p->encap_limit; in ip6_tnl_parm_to_user()
1974 parms->encap_limit = nla_get_u8(data[IFLA_IPTUN_ENCAP_LIMIT]); in ip6_tnl_netlink_parms()
2114 nla_put_u8(skb, IFLA_IPTUN_ENCAP_LIMIT, parm->encap_limit) || in ip6_tnl_fill_info()