Lines Matching refs:proto_names
39 } proto_names[] = {
83 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
84 if (allowed & enabled & proto_names[i].type)
85 tmp += sprintf(tmp, "[%s] ", proto_names[i].name);
86 else if (allowed & proto_names[i].type)
87 tmp += sprintf(tmp, "%s ", proto_names[i].name);
156 for (i = 0; i < ARRAY_SIZE(proto_names); i++) {
157 if (!strncasecmp(tmp, proto_names[i].name, strlen(proto_names[i].name))) {
158 tmp += strlen(proto_names[i].name);
159 mask = proto_names[i].type;
163 if (i == ARRAY_SIZE(proto_names)) {