Lines Matching refs:tca

1950 	struct nlattr *tca[TCA_MAX + 1];
1975 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2010 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2039 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2071 if (tca[TCA_KIND] == NULL || !protocol) {
2106 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2134 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh,
2180 struct nlattr *tca[TCA_MAX + 1];
2200 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2210 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) {
2221 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2248 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2283 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2340 struct nlattr *tca[TCA_MAX + 1];
2357 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2378 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2404 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2425 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2549 struct nlattr *tca[TCA_MAX + 1];
2562 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
2567 if (tca[TCA_DUMP_FLAGS]) {
2569 nla_get_bitfield32(tca[TCA_DUMP_FLAGS]);
2627 if (tca[TCA_CHAIN] &&
2628 nla_get_u32(tca[TCA_CHAIN]) != chain->index)
2756 struct nlattr **tca,
2764 if (!tca[TCA_KIND])
2767 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2781 tmplt_priv = ops->tmplt_create(net, chain, tca, extack);
2808 struct nlattr *tca[TCA_MAX + 1];
2824 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2838 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2894 err = tc_chain_tmplt_add(chain, net, tca, extack);
2943 struct nlattr *tca[TCA_MAX + 1];
2956 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
3012 if ((tca[TCA_CHAIN] &&
3013 nla_get_u32(tca[TCA_CHAIN]) != chain->index))