Searched refs:cftypes (Results 1 – 4 of 4) sorted by relevance
113 static char const * const cftypes[] = { in protoname() local136 if (proto < 0 || (unsigned)proto > NELEM(cftypes) || in protoname()137 cftypes[proto] == NULL) { in protoname()143 return cftypes[proto]; in protoname()
614 static const char *cftypes[] = { "IFACEID", "COMPPROTO" }; in protoname() local616 if (proto > 0 && proto <= NELEM(cftypes)) in protoname()617 return cftypes[proto - 1]; in protoname()
121 static const char * const cftypes[] = { in protoname() local149 if (proto > NELEM(cftypes) || cftypes[proto] == NULL) in protoname()152 return cftypes[proto]; in protoname()
141 } cftypes[] = { in protoname() local153 for (f = 0; f < NELEM(cftypes); f++) in protoname()154 if (cftypes[f].id == proto) in protoname()155 return cftypes[f].txt; in protoname()