Home | History | Annotate | Download | only in tc

Lines Matching full:kind

42 static inline void map_warning(int num, char *kind)
46 "Please assign a unique ID to the ematch kind the suggested " \
49 kind, EMATCH_MAP, num, kind);
90 static int lookup_map_id(char *kind, int *dst, const char *file)
114 if (!strcasecmp(namebuf, kind)) {
129 static struct ematch_util *get_ematch_kind(char *kind)
137 if (strcmp(e->kind, kind) == 0)
141 snprintf(buf, sizeof(buf), "em_%s.so", kind);
152 snprintf(buf, sizeof(buf), "%s_ematch_util", kind);
163 static struct ematch_util *get_ematch_kind_num(__u16 kind)
167 if (lookup_map(kind, name, sizeof(name), EMATCH_MAP) < 0)
216 hdr.kind = num;
283 fprintf(stderr, "... %s(", e->kind);
389 if (hdr->kind == 0) {
408 e = get_ematch_kind_num(hdr->kind);
411 hdr->kind);
413 fprintf(fd, "%s(", e->kind);