Lines Matching refs:tca

2128 	struct nlattr *tca[TCA_MAX + 1];
2151 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2187 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2216 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2248 if (tca[TCA_KIND] == NULL || !protocol) {
2283 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2317 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh,
2362 struct nlattr *tca[TCA_MAX + 1];
2379 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2389 if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) {
2400 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2427 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2462 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2519 struct nlattr *tca[TCA_MAX + 1];
2536 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
2557 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2583 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
2604 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) {
2728 struct nlattr *tca[TCA_MAX + 1];
2741 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
2746 if (tca[TCA_DUMP_FLAGS]) {
2748 nla_get_bitfield32(tca[TCA_DUMP_FLAGS]);
2806 if (tca[TCA_CHAIN] &&
2807 nla_get_u32(tca[TCA_CHAIN]) != chain->index)
2940 struct nlattr **tca,
2948 if (!tca[TCA_KIND])
2951 if (tcf_proto_check_kind(tca[TCA_KIND], name)) {
2966 tmplt_priv = ops->tmplt_create(net, chain, tca, extack);
2993 struct nlattr *tca[TCA_MAX + 1];
3005 err = nlmsg_parse_deprecated(n, sizeof(*t), tca, TCA_MAX,
3019 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0;
3075 err = tc_chain_tmplt_add(chain, net, tca, extack);
3124 struct nlattr *tca[TCA_MAX + 1];
3136 err = nlmsg_parse_deprecated(cb->nlh, sizeof(*tcm), tca, TCA_MAX,
3183 if ((tca[TCA_CHAIN] &&
3184 nla_get_u32(tca[TCA_CHAIN]) != chain->index))