Lines Matching refs:proto_names
782 } proto_names[] = { variable
875 for (i = 0; i < ARRAY_SIZE(proto_names); i++) { in show_protocols()
876 if (allowed & enabled & proto_names[i].type) in show_protocols()
877 tmp += sprintf(tmp, "[%s] ", proto_names[i].name); in show_protocols()
878 else if (allowed & proto_names[i].type) in show_protocols()
879 tmp += sprintf(tmp, "%s ", proto_names[i].name); in show_protocols()
881 if (allowed & proto_names[i].type) in show_protocols()
882 allowed &= ~proto_names[i].type; in show_protocols()
928 for (i = 0; i < ARRAY_SIZE(proto_names); i++) { in parse_protocol_change()
929 if (!strcasecmp(tmp, proto_names[i].name)) { in parse_protocol_change()
930 mask = proto_names[i].type; in parse_protocol_change()
935 if (i == ARRAY_SIZE(proto_names)) { in parse_protocol_change()