Lines Matching refs:kind
134 if (nla_put_string(skb, TCA_KIND, a->ops->kind)) in tcf_del_walker()
311 if (act->type == a->type || (strcmp(act->kind, a->kind) == 0)) { in tcf_register_action()
345 static struct tc_action_ops *tc_lookup_action_n(char *kind) in tc_lookup_action_n() argument
349 if (kind) { in tc_lookup_action_n()
352 if (strcmp(kind, a->kind) == 0) { in tc_lookup_action_n()
364 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action() argument
368 if (kind) { in tc_lookup_action()
371 if (nla_strcmp(kind, a->kind) == 0) { in tc_lookup_action()
441 if (nla_put_string(skb, TCA_KIND, a->ops->kind)) in tcf_action_dump_1()
494 struct nlattr *kind; in tcf_action_init_1() local
502 kind = tb[TCA_ACT_KIND]; in tcf_action_init_1()
503 if (kind == NULL) in tcf_action_init_1()
505 if (nla_strlcpy(act_name, kind, IFNAMSIZ) >= IFNAMSIZ) in tcf_action_init_1()
768 struct nlattr *kind; in tca_action_flush() local
785 kind = tb[TCA_ACT_KIND]; in tca_action_flush()
788 a.ops = tc_lookup_action(kind); in tca_action_flush()
1004 struct nlattr *kind; in find_dump_kind() local
1021 kind = tb2[TCA_ACT_KIND]; in find_dump_kind()
1023 return kind; in find_dump_kind()
1036 struct nlattr *kind = find_dump_kind(cb->nlh); in tc_dump_action() local
1038 if (kind == NULL) { in tc_dump_action()
1043 a_o = tc_lookup_action(kind); in tc_dump_action()