Lines Matching defs:tca

2235 	struct nlattr *tca[TCA_MAX + 1];
2258 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2294 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2323 chain_index = nla_get_u32_default(tca[TCA_CHAIN], 0);
2354 if (tca[TCA_KIND] == NULL || !protocol) {
2389 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2423 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh,
2469 struct nlattr *tca[TCA_MAX + 1];
2486 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2496 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) {
2507 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2534 chain_index = nla_get_u32_default(tca[TCA_CHAIN], 0);
2572 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2628 struct nlattr *tca[TCA_MAX + 1];
2645 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2666 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2692 chain_index = nla_get_u32_default(tca[TCA_CHAIN], 0);
2716 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2841 struct nlattr *tca[TCA_MAX + 1];
2854 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
2859 if (tca[TCA_DUMP_FLAGS]) {
2861 nla_get_bitfield32(tca[TCA_DUMP_FLAGS]);
2919 if (tca[TCA_CHAIN] &&
2920 nla_get_u32(tca[TCA_CHAIN]) != chain->index)
3056 struct nlattr **tca,
3064 if (!tca[TCA_KIND])
3067 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
3082 tmplt_priv = ops->tmplt_create(net, chain, tca, extack);
3109 struct nlattr *tca[TCA_MAX + 1];
3121 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
3135 chain_index = nla_get_u32_default(tca[TCA_CHAIN], 0);
3191 err = tc_chain_tmplt_add(chain, net, tca, extack);
3240 struct nlattr *tca[TCA_MAX + 1];
3252 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
3299 if ((tca[TCA_CHAIN] &&
3300 nla_get_u32(tca[TCA_CHAIN]) != chain->index))