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 > sizeof cftypes / sizeof *cftypes || in protoname()137 cftypes[proto] == NULL) { in protoname()143 return cftypes[proto]; in protoname()
651 static const char *cftypes[] = { "IFACEID", "COMPPROTO" }; in protoname() local653 if (proto > 0 && proto <= sizeof cftypes / sizeof *cftypes) in protoname()654 return cftypes[proto - 1]; in protoname()
121 static const char * const cftypes[] = { in protoname() local149 if (proto > sizeof cftypes / sizeof *cftypes || cftypes[proto] == NULL) in protoname()152 return cftypes[proto]; in protoname()
143 } cftypes[] = { in protoname() local155 for (f = 0; f < sizeof cftypes / sizeof *cftypes; f++) in protoname()156 if (cftypes[f].id == proto) in protoname()157 return cftypes[f].txt; in protoname()