Searched refs:kind (Results 1 – 25 of 33) sorted by relevance
12
/net/sched/ |
D | ematch.c | 95 static inline struct tcf_ematch_ops * tcf_em_lookup(u16 kind) in tcf_em_lookup() argument 101 if (kind == e->kind) { in tcf_em_lookup() 135 if (ops->kind == e->kind) in tcf_em_register() 184 if (em_hdr->kind == TCF_EM_CONTAINER) { in tcf_em_validate() 211 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 217 request_module("ematch-kind-%u", em_hdr->kind); in tcf_em_validate() 219 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 446 .kind = em->ops ? em->ops->kind : TCF_EM_CONTAINER, in tcf_em_tree_dump()
|
D | act_api.c | 124 NLA_PUT_STRING(skb, TCA_KIND, a->ops->kind); in tcf_del_walker() 267 if (act->type == a->type || (strcmp(act->kind, a->kind) == 0)) { in tcf_register_action() 299 static struct tc_action_ops *tc_lookup_action_n(char *kind) in tc_lookup_action_n() argument 303 if (kind) { in tc_lookup_action_n() 306 if (strcmp(kind, a->kind) == 0) { in tc_lookup_action_n() 320 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) in tc_lookup_action() argument 324 if (kind) { in tc_lookup_action() 327 if (nla_strcmp(kind, a->kind) == 0) { in tc_lookup_action() 433 NLA_PUT_STRING(skb, TCA_KIND, a->ops->kind); in tcf_action_dump_1() 484 struct nlattr *kind; in tcf_action_init_1() local [all …]
|
D | cls_api.c | 42 static struct tcf_proto_ops *tcf_proto_lookup_ops(struct nlattr *kind) in tcf_proto_lookup_ops() argument 46 if (kind) { in tcf_proto_lookup_ops() 49 if (nla_strcmp(kind, t->kind) == 0) { in tcf_proto_lookup_ops() 69 if (!strcmp(ops->kind, t->kind)) in register_tcf_proto_ops() 231 struct nlattr *kind = tca[TCA_KIND]; in tc_ctl_tfilter() local 234 if (kind != NULL && in tc_ctl_tfilter() 235 nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { in tc_ctl_tfilter() 239 tp_ops = tcf_proto_lookup_ops(kind); in tc_ctl_tfilter() 274 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) in tc_ctl_tfilter() 344 NLA_PUT_STRING(skb, TCA_KIND, tp->ops->kind); in tcf_fill_node()
|
D | em_meta.c | 96 return TCF_META_ID(v->hdr.kind); in meta_id() 101 return TCF_META_TYPE(v->hdr.kind); in meta_type() 788 if (TCF_META_TYPE(hdr->left.kind) != TCF_META_TYPE(hdr->right.kind) || in em_meta_change() 789 TCF_META_TYPE(hdr->left.kind) > TCF_META_TYPE_MAX || in em_meta_change() 790 TCF_META_ID(hdr->left.kind) > TCF_META_ID_MAX || in em_meta_change() 791 TCF_META_ID(hdr->right.kind) > TCF_META_ID_MAX) in em_meta_change() 851 .kind = TCF_EM_META,
|
D | em_u32.c | 42 .kind = TCF_EM_U32,
|
D | em_cmp.c | 76 .kind = TCF_EM_CMP,
|
D | em_nbyte.c | 58 .kind = TCF_EM_NBYTE,
|
D | sch_api.c | 258 static struct Qdisc_ops *qdisc_lookup_ops(struct nlattr *kind) in qdisc_lookup_ops() argument 262 if (kind) { in qdisc_lookup_ops() 265 if (nla_strcmp(kind, q->id) == 0) { in qdisc_lookup_ops() 750 struct nlattr *kind = tca[TCA_KIND]; in qdisc_create() local 755 ops = qdisc_lookup_ops(kind); in qdisc_create() 757 if (ops == NULL && kind != NULL) { in qdisc_create() 759 if (nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { in qdisc_create() 771 ops = qdisc_lookup_ops(kind); in qdisc_create()
|
D | em_text.c | 133 .kind = TCF_EM_TEXT,
|
D | act_simple.c | 187 .kind = "simple",
|
D | act_skbedit.c | 176 .kind = "skbedit",
|
D | cls_cgroup.c | 268 .kind = "cgroup",
|
D | act_gact.c | 185 .kind = "gact",
|
D | act_mirred.c | 230 .kind = "mirred",
|
D | act_pedit.c | 231 .kind = "pedit",
|
D | cls_basic.c | 278 .kind = "basic",
|
D | act_nat.c | 302 .kind = "nat",
|
D | act_ipt.c | 286 .kind = "ipt",
|
D | cls_fw.c | 375 .kind = "fw",
|
D | act_police.c | 372 .kind = "police",
|
D | cls_tcindex.c | 481 .kind = "tcindex",
|
/net/core/ |
D | rtnetlink.c | 328 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) in rtnl_link_ops_get() argument 333 if (!strcmp(ops->kind, kind)) in rtnl_link_ops_get() 348 nlmsg_total_size(strlen(ops->kind) + 1); /* IFLA_INFO_KIND */ in rtnl_link_get_size() 371 if (nla_put_string(skb, IFLA_INFO_KIND, ops->kind) < 0) in rtnl_link_fill() 1040 char kind[MODULE_NAME_LEN]; in rtnl_newlink() local 1078 nla_strlcpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind)); in rtnl_newlink() 1079 ops = rtnl_link_ops_get(kind); in rtnl_newlink() 1081 kind[0] = '\0'; in rtnl_newlink() 1136 if (kind[0]) { in rtnl_newlink() 1138 request_module("rtnl-link-%s", kind); in rtnl_newlink() [all …]
|
/net/rfkill/ |
D | Kconfig | 25 need a some kind of userspace application to control
|
/net/8021q/ |
D | vlan_netlink.c | 215 .kind = "vlan",
|
/net/ax25/ |
D | Kconfig | 29 use a low speed TNC (a Terminal Node Controller acts as a kind of
|
12