Searched refs:protocol_table (Results 1 – 2 of 2) sorted by relevance
126 } protocol_table[] = { in qmp_add_client() local148 for (i = 0; i < ARRAY_SIZE(protocol_table); i++) { in qmp_add_client()149 if (!strcmp(protocol, protocol_table[i].name)) { in qmp_add_client()150 if (!protocol_table[i].add_client(fd, has_skipauth, skipauth, in qmp_add_client()
79 // protocol_table[IPPROTO_TCP] == {"tcp", 6}80 -static struct nprotoent *protocol_table[UCHAR_MAX];81 +static struct nprotoent *protocol_table[MAX_IPPROTONUM + 1];100 return protocol_table[num];