Lines Matching +defs:start +defs:line

43 		      int line, const char *value);
66 int line, const char *value)
82 line, data->name,
97 "min_len=%ld)", line, data->name,
105 "max_len=%ld)", line, data->name,
202 int line, const char *value,
212 line, value);
218 "min_value=%ld)", line, data->name, val,
225 "max_value=%ld)", line, data->name, val,
242 int line, const char *value)
244 return wpa_config_parse_int_impl(data, ssid, line, value, false);
250 int line, const char *value)
252 return wpa_config_parse_int_impl(data, ssid, line, value, true);
280 int line, const char *value,
300 line, name, value);
305 * truncated configuration file line */
308 line, name, pos);
373 struct wpa_ssid *ssid, int line,
384 line, value);
418 struct wpa_ssid *ssid, int line,
429 line, value);
462 struct wpa_ssid *ssid, int line,
465 return wpa_config_parse_addr_list(data, line, value,
474 struct wpa_ssid *ssid, int line,
477 return wpa_config_parse_addr_list(data, line, value,
508 struct wpa_ssid *ssid, int line,
511 return wpa_config_parse_addr_list(data, line, value,
520 struct wpa_ssid *ssid, int line,
523 return wpa_config_parse_addr_list(data, line, value,
558 struct wpa_ssid *ssid, int line,
590 line, (unsigned long) len, value);
598 line);
614 "supported.", line);
622 line, value);
670 struct wpa_ssid *ssid, int line,
674 char *start, *end, *buf;
679 start = buf;
681 while (*start != '\0') {
682 while (*start == ' ' || *start == '\t')
683 start++;
684 if (*start == '\0')
686 end = start;
691 if (os_strcmp(start, "WPA") == 0)
693 else if (os_strcmp(start, "RSN") == 0 ||
694 os_strcmp(start, "WPA2") == 0)
696 else if (os_strcmp(start, "OSEN") == 0)
700 line, start);
706 start = end + 1;
712 "Line %d: no proto values configured.", line);
771 struct wpa_ssid *ssid, int line,
775 char *start, *end, *buf;
780 start = buf;
782 while (*start != '\0') {
783 while (*start == ' ' || *start == '\t')
784 start++;
785 if (*start == '\0')
787 end = start;
792 if (os_strcmp(start, "WPA-PSK") == 0)
794 else if (os_strcmp(start, "WPA-EAP") == 0)
796 else if (os_strcmp(start, "IEEE8021X") == 0)
798 else if (os_strcmp(start, "NONE") == 0)
800 else if (os_strcmp(start, "WPA-NONE") == 0)
803 else if (os_strcmp(start, "FT-PSK") == 0)
805 else if (os_strcmp(start, "FT-EAP") == 0)
808 else if (os_strcmp(start, "FT-EAP-SHA384") == 0)
813 else if (os_strcmp(start, "WPA-EAP-SHA384") == 0)
816 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0)
818 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0)
821 else if (os_strcmp(start, "WPS") == 0)
825 else if (os_strcmp(start, "SAE") == 0)
827 else if (os_strcmp(start, "SAE-EXT-KEY") == 0)
829 else if (os_strcmp(start, "FT-SAE") == 0)
831 else if (os_strcmp(start, "FT-SAE-EXT-KEY") == 0)
835 else if (os_strcmp(start, "OSEN") == 0)
839 else if (os_strcmp(start, "WPA-EAP-SUITE-B") == 0)
843 else if (os_strcmp(start, "WPA-EAP-SUITE-B-192") == 0)
847 else if (os_strcmp(start, "FILS-SHA256") == 0)
849 else if (os_strcmp(start, "FILS-SHA384") == 0)
852 else if (os_strcmp(start, "FT-FILS-SHA256") == 0)
854 else if (os_strcmp(start, "FT-FILS-SHA384") == 0)
859 else if (os_strcmp(start, "OWE") == 0)
863 else if (os_strcmp(start, "DPP") == 0)
868 line, start);
874 start = end + 1;
880 "Line %d: no key_mgmt values configured.", line);
1185 static int wpa_config_parse_cipher(int line, const char *value)
1193 line, value);
1198 line);
1228 struct wpa_ssid *ssid, int line,
1232 val = wpa_config_parse_cipher(line, value);
1237 "(0x%x).", line, val);
1259 struct wpa_ssid *ssid, int line,
1263 val = wpa_config_parse_cipher(line, value);
1275 "(0x%x).", line, val);
1297 struct wpa_ssid *ssid, int line,
1302 val = wpa_config_parse_cipher(line, value);
1309 line, val);
1331 struct wpa_ssid *ssid, int line,
1335 char *start, *end, *buf;
1340 start = buf;
1342 while (*start != '\0') {
1343 while (*start == ' ' || *start == '\t')
1344 start++;
1345 if (*start == '\0')
1347 end = start;
1352 if (os_strcmp(start, "OPEN") == 0)
1354 else if (os_strcmp(start, "SHARED") == 0)
1356 else if (os_strcmp(start, "LEAP") == 0)
1360 line, start);
1366 start = end + 1;
1372 "Line %d: no auth_alg values configured.", line);
1478 struct wpa_ssid *ssid, int line,
1498 struct wpa_ssid *ssid, int line,
1568 struct wpa_ssid *ssid, int line,
1572 char *start, *end, *buf;
1579 start = buf;
1581 while (*start != '\0') {
1582 while (*start == ' ' || *start == '\t')
1583 start++;
1584 if (*start == '\0')
1586 end = start;
1600 start, &methods[num_methods].vendor);
1604 "'%s'", line, start);
1618 start = end + 1;
1704 struct wpa_ssid *ssid, int line,
1740 "Line %d: failed to parse password.", line);
1760 line);
1770 wpa_printf(MSG_ERROR, "Line %d: Invalid password hash", line);
1793 struct wpa_ssid *ssid, int line,
1834 line);
1855 line);
1866 line);
1969 static int wpa_config_parse_wep_key(u8 *key, size_t *len, int line,
1978 line, idx, value);
1983 line, idx, value);
1990 line, (unsigned int) *len);
2002 struct wpa_ssid *ssid, int line,
2006 &ssid->wep_key_len[0], line,
2012 struct wpa_ssid *ssid, int line,
2016 &ssid->wep_key_len[1], line,
2022 struct wpa_ssid *ssid, int line,
2026 &ssid->wep_key_len[2], line,
2032 struct wpa_ssid *ssid, int line,
2036 &ssid->wep_key_len[3], line,
2085 struct wpa_ssid *ssid, int line,
2096 line, value);
2131 struct wpa_ssid *ssid, int line,
2134 return wpa_config_parse_addr_list(data, line, value,
2153 struct wpa_ssid *ssid, int line,
2171 line, pos);
2178 line, pos);
2186 line, pos);
2211 struct wpa_ssid *ssid, int line,
2218 line, value);
2249 struct wpa_ssid *ssid, int line,
2259 line, value);
2272 struct wpa_ssid *ssid, int line,
2282 line, value);
2288 line, value);
2328 struct wpa_ssid *ssid, int line,
2336 line, value);
2363 struct wpa_ssid *ssid, int line,
2381 struct wpa_ssid *ssid, int line,
2394 line, value);
2498 * network configuration variable, e.g., each line in wpa_supplicant.conf file
2509 * For each configuration line in wpa_supplicant.conf, the parser goes through
2514 * since only one line needs to be added into this table and into the
3311 * @line: Line number in configuration file or 0 if not used
3321 int line)
3334 ret = field->parser(field, ssid, line, value);
3336 if (line) {
3338 "parse %s '%s'.", line, var, value);
3357 line, var);
3360 if (line) {
3362 "'%s'.", line, var);
3694 const char *value, int line)
3729 "for a credential", line, value);
3805 "value '%s'.", line, var, value);
3925 "expected)", line, (int) len);
3931 line);
3943 "(3..15 expected)", line, (int) len);
3949 line);
3964 line);
3976 "Line %d: invalid required_home_ois", line);
3989 line);
3999 "excluded_ssid length %d", line, (int) len);
4097 if (line) {
4099 line, var);
4749 struct wpa_config *config, int line, const char *value);
4765 struct wpa_config *config, int line,
4776 line, pos);
4782 "min_value=%ld)", line, data->name, val,
4789 "max_value=%ld)", line, data->name, val,
4804 struct wpa_config *config, int line,
4807 return wpa_global_config_parse_int_impl(data, config, line, pos, false);
4813 struct wpa_config *config, int line,
4816 return wpa_global_config_parse_int_impl(data, config, line, pos, true);
4821 struct wpa_config *config, int line,
4830 "min_len=%ld)", line, data->name,
4837 "max_len=%ld)", line, data->name,
4844 line, data->name);
4871 struct wpa_config *config, int line,
4881 line, data->name);
4885 res = wpa_global_config_parse_str(data, config, line, tmp);
4892 struct wpa_config *config, int line,
4915 struct wpa_config *config, int line,
4935 struct wpa_config *config, int line,
4955 struct wpa_config *config, int line,
4979 struct wpa_config *config, int line,
4999 int line, const char *so)
5009 "method '%s'.", line, so);
5021 struct wpa_config *config, int line,
5026 wpa_printf(MSG_ERROR, "Line %d: invalid UUID", line);
5037 struct wpa_config *config, int line, const char *pos)
5044 struct wpa_config *config, int line,
5048 wpa_printf(MSG_ERROR, "Line %d: invalid os_version", line);
5059 struct wpa_config *config, int line, const char *pos)
5067 "invalid wps_vendor_ext_m1", line);
5077 "invalid wps_vendor_ext_m1", line);
5098 struct wpa_config *config, int line, const char *pos)
5104 "items", line);
5120 struct wpa_config *config, int line, const char *pos)
5163 wpa_printf(MSG_ERROR, "Line %d: Invalid p2p_pref_chan list", line);
5170 struct wpa_config *config, int line, const char *pos)
5176 wpa_printf(MSG_ERROR, "Line %d: Invalid p2p_no_go_freq", line);
5189 struct wpa_config *config, int line, const char *pos)
5194 line, pos);
5206 struct wpa_config *config, int line, const char *pos)
5210 line, pos);
5220 struct wpa_config *config, int line, const char *pos)
5225 line, pos);
5238 struct wpa_config *config, int line, const char *pos)
5251 line);
5263 struct wpa_config *config, int line, const char *pos)
5276 line);
5289 struct wpa_config *config, int line, const char *pos)
5360 struct wpa_config *config, int line, const char *pos)
5365 line, pos);
5676 * @line: Line number in configuration file or 0 if not used
5685 int wpa_config_process_global(struct wpa_config *config, char *pos, int line)
5697 ret = field->parser(field, config, line, pos + flen + 1);
5700 "parse '%s'.", line, pos);
5716 if (line < 0)
5718 "Line %d: invalid line %s",
5719 line, pos);
5727 line);
5736 if (line < 0)
5738 wpa_printf(MSG_ERROR, "Line %d: invalid line "
5739 "'%s'", line, pos);
5746 "AC item", line);
5752 if (line < 0)
5755 line, pos);