Searched refs:kind (Results 1 - 25 of 48) sorted by relevance

12

/net/sched/
H A Dematch.c20 * by markers. Precedence is implemented by a special ematch kind
60 * .kind = unique id,
96 static struct tcf_ematch_ops *tcf_em_lookup(u16 kind) argument
102 if (kind == e->kind) {
120 * The given @ops must have kind set to a unique identifier and the
124 * Returns -EEXISTS if an ematch of the same kind has already registered.
136 if (ops->kind == e->kind)
186 if (em_hdr->kind
[all...]
H A Dact_api.c133 if (nla_put_string(skb, TCA_KIND, a->ops->kind))
310 if (act->type == a->type || (strcmp(act->kind, a->kind) == 0)) {
344 static struct tc_action_ops *tc_lookup_action_n(char *kind) argument
348 if (kind) {
351 if (strcmp(kind, a->kind) == 0) {
363 static struct tc_action_ops *tc_lookup_action(struct nlattr *kind) argument
367 if (kind) {
370 if (nla_strcmp(kind,
493 struct nlattr *kind; local
767 struct nlattr *kind; local
1003 struct nlattr *kind; local
1035 struct nlattr *kind = find_dump_kind(cb->nlh); local
[all...]
H A Dcls_api.c41 static const struct tcf_proto_ops *tcf_proto_lookup_ops(struct nlattr *kind) argument
45 if (kind) {
48 if (nla_strcmp(kind, t->kind) == 0) {
68 if (!strcmp(ops->kind, t->kind))
236 struct nlattr *kind = tca[TCA_KIND]; local
239 if (kind != NULL &&
240 nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) {
244 tp_ops = tcf_proto_lookup_ops(kind);
[all...]
H A Dem_cmp.c77 .kind = TCF_EM_CMP,
H A Dem_u32.c42 .kind = TCF_EM_U32,
H A Dem_nbyte.c58 .kind = TCF_EM_NBYTE,
H A Dem_ipset.c110 .kind = TCF_EM_IPSET,
H A Dem_meta.c94 return TCF_META_ID(v->hdr.kind);
99 return TCF_META_TYPE(v->hdr.kind);
876 if (TCF_META_TYPE(hdr->left.kind) != TCF_META_TYPE(hdr->right.kind) ||
877 TCF_META_TYPE(hdr->left.kind) > TCF_META_TYPE_MAX ||
878 TCF_META_ID(hdr->left.kind) > TCF_META_ID_MAX ||
879 TCF_META_ID(hdr->right.kind) > TCF_META_ID_MAX)
942 .kind = TCF_EM_META,
H A Dem_canid.c209 .kind = TCF_EM_CANID,
H A Dem_text.c134 .kind = TCF_EM_TEXT,
H A Dact_ipt.c263 .kind = "ipt",
273 .kind = "xt",
H A Dsch_api.c327 static struct Qdisc_ops *qdisc_lookup_ops(struct nlattr *kind) argument
331 if (kind) {
334 if (nla_strcmp(kind, q->id) == 0) {
883 struct nlattr *kind = tca[TCA_KIND]; local
888 ops = qdisc_lookup_ops(kind);
890 if (ops == NULL && kind != NULL) {
892 if (nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) {
904 ops = qdisc_lookup_ops(kind);
H A Dact_gact.c181 .kind = "gact",
H A Dact_mirred.c237 .kind = "mirred",
H A Dact_pedit.c218 .kind = "pedit",
H A Dact_simple.c164 .kind = "simple",
H A Dact_skbedit.c176 .kind = "skbedit",
H A Dcls_cgroup.c214 .kind = "cgroup",
H A Dact_nat.c284 .kind = "nat",
H A Dcls_basic.c291 .kind = "basic",
H A Dcls_bpf.c360 .kind = "bpf",
/net/core/
H A Drtnetlink.c276 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) argument
281 if (!strcmp(ops->kind, kind))
299 if (rtnl_link_ops_get(ops->kind))
429 nla_total_size(strlen(ops->kind) + 1); /* IFLA_INFO_KIND */
540 if (nla_put_string(skb, IFLA_INFO_SLAVE_KIND, ops->kind) < 0)
567 if (nla_put_string(skb, IFLA_INFO_KIND, ops->kind) < 0)
1914 char kind[MODULE_NAME_LEN]; local
1962 nla_strlcpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind));
2934 int sz_idx, kind; local
[all...]
/net/8021q/
H A Dvlan_netlink.c242 .kind = "vlan",
/net/openvswitch/
H A Dvport-internal_dev.c126 .kind = "openvswitch",
/net/netfilter/
H A Dxt_osf.c259 if (f->opt[optnum].kind == (*optp)) {

Completed in 231 milliseconds

12