Searched refs:MAX_PROTOS (Results 1 – 1 of 1) sorted by relevance
43 #define MAX_PROTOS 32 macro45 static struct pi_protocol *protocols[MAX_PROTOS];211 for (k=0;k<MAX_PROTOS;k++) in pi_register()217 while((k<MAX_PROTOS) && (protocols[k])) k++; in pi_register()218 if (k == MAX_PROTOS) { in pi_register()351 e = MAX_PROTOS; in pi_init()352 } else if ((s < 0) || (s >= MAX_PROTOS) || (port <= 0) || in pi_init()424 for (k=0;k<MAX_PROTOS;k++) protocols[k] = 0; in init_module()