Lines Matching refs:kind
142 if (nla_put_string(skb, TCA_KIND, a->ops->kind)) in tcf_del_walker()
334 if (act->type == a->type || (strcmp(act->kind, a->kind) == 0)) { in tcf_register_action()
368 static struct tc_action_ops *tc_lookup_action_n(char *kind) in tc_lookup_action_n() argument
372 if (kind) { in tc_lookup_action_n()
375 if (strcmp(kind, a->kind) == 0) { in tc_lookup_action_n()
387 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action() argument
391 if (kind) { in tc_lookup_action()
394 if (nla_strcmp(kind, a->kind) == 0) { in tc_lookup_action()
459 if (nla_put_string(skb, TCA_KIND, a->ops->kind)) in tcf_action_dump_1()
512 struct nlattr *kind; in tcf_action_init_1() local
520 kind = tb[TCA_ACT_KIND]; in tcf_action_init_1()
521 if (kind == NULL) in tcf_action_init_1()
523 if (nla_strlcpy(act_name, kind, IFNAMSIZ) >= IFNAMSIZ) in tcf_action_init_1()
786 struct nlattr *kind; in tca_action_flush() local
803 kind = tb[TCA_ACT_KIND]; in tca_action_flush()
806 a.ops = tc_lookup_action(kind); in tca_action_flush()
1022 struct nlattr *kind; in find_dump_kind() local
1039 kind = tb2[TCA_ACT_KIND]; in find_dump_kind()
1041 return kind; in find_dump_kind()
1054 struct nlattr *kind = find_dump_kind(cb->nlh); in tc_dump_action() local
1056 if (kind == NULL) { in tc_dump_action()
1061 a_o = tc_lookup_action(kind); in tc_dump_action()