Searched refs:cftypes (Results 1 – 4 of 4) sorted by relevance
115 static char const * const cftypes[] = { in protoname() local138 if (proto < 0 || (unsigned)proto > sizeof cftypes / sizeof *cftypes || in protoname()139 cftypes[proto] == NULL) { in protoname()145 return cftypes[proto]; in protoname()
653 static const char *cftypes[] = { "IFACEID", "COMPPROTO" }; in protoname() local655 if (proto > 0 && proto <= sizeof cftypes / sizeof *cftypes) in protoname()656 return cftypes[proto - 1]; in protoname()
123 static const char * const cftypes[] = { in protoname() local151 if (proto > sizeof cftypes / sizeof *cftypes || cftypes[proto] == NULL) in protoname()154 return cftypes[proto]; in protoname()
145 } cftypes[] = { in protoname() local157 for (f = 0; f < sizeof cftypes / sizeof *cftypes; f++) in protoname()158 if (cftypes[f].id == proto) in protoname()159 return cftypes[f].txt; in protoname()