HomeSort by relevance Sort by last modified time
    Searched full:os_snprintf (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/wpa_supplicant/
ctrl_iface.c 216 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n",
233 ret = os_snprintf(pos, end - pos, "ssid=%s\nid=%d\n",
241 ret = os_snprintf(pos, end - pos,
252 ret = os_snprintf(pos, end - pos, "wpa_state=%s\n",
260 ret = os_snprintf(pos, end - pos, "ip_address=%s\n", tmp);
334 ret = os_snprintf(pos, end-pos,
382 ret = os_snprintf(pos, end - pos,
390 ret = os_snprintf(pos, end - pos, "%d\t%s",
397 ret = os_snprintf(pos, end - pos, "\t" MACSTR,
400 ret = os_snprintf(pos, end - pos, "\tany")
    [all...]
wpa_cli.c 199 os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname);
358 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]);
398 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]);
417 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]);
438 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]);
457 res = os_snprintf(cmd, sizeof(cmd), "LEVEL %s", argv[0]);
479 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "IDENTITY-%s:%s",
487 ret = os_snprintf(pos, end - pos, " %s", argv[i]);
512 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "PASSWORD-%s:%s",
520 ret = os_snprintf(pos, end - pos, " %s", argv[i])
    [all...]
driver_test.c 83 os_snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s",
184 os_snprintf(drv->hostapd_addr.sun_path,
196 ret = os_snprintf(pos, end - pos, "ASSOC " MACSTR " ",
202 ret = os_snprintf(pos, end - pos, " ");
535 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR,
541 os_snprintf(drv->own_socket_path, 100,
673 os_snprintf(addr.sun_path, sizeof(addr.sun_path),
676 os_snprintf(addr.sun_path, sizeof(addr.sun_path),
822 os_snprintf(addr.sun_path, sizeof(addr.sun_path),
837 os_snprintf(addr.sun_path, sizeof(addr.sun_path)
    [all...]
wpa_ctrl.c 88 os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path),
112 os_snprintf(ctrl->dest.sun_path, sizeof(ctrl->dest.sun_path), "wpa_%s",
127 os_snprintf(ctrl->dest.sun_path, sizeof(ctrl->dest.sun_path), "%s",
427 os_snprintf(name, 256, NAMED_PIPE_PREFIX);
429 os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s",
config.c 278 os_snprintf(value, 20, "%d", *src);
310 os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid));
445 ret = os_snprintf(pos, end - pos, "%sWPA", first ? "" : " ");
453 ret = os_snprintf(pos, end - pos, "%sRSN", first ? "" : " ");
532 ret = os_snprintf(pos, end - pos, "%sWPA-PSK",
542 ret = os_snprintf(pos, end - pos, "%sWPA-EAP",
552 ret = os_snprintf(pos, end - pos, "%sIEEE8021X",
562 ret = os_snprintf(pos, end - pos, "%sNONE",
572 ret = os_snprintf(pos, end - pos, "%sWPA-NONE",
648 ret = os_snprintf(pos, end - pos, "%sCCMP"
    [all...]
eapol_test.c 95 os_snprintf(format, maxlen, "STA " MACSTR ": %s",
98 os_snprintf(format, maxlen, "%s", fmt);
116 os_snprintf(buf, buflen, "%s", inet_ntoa(addr->u.v4));
187 os_snprintf(buf, sizeof(buf), RADIUS_802_1X_ADDR_FORMAT,
209 os_snprintf(buf, sizeof(buf), "%s", e->connect_info);
516 os_snprintf(buf, sizeof(buf), "EAP-Request-%s (%d)",
521 os_snprintf(buf, sizeof(buf), "EAP Response-%s (%d)",
526 os_snprintf(buf, sizeof(buf), "EAP Success");
531 os_snprintf(buf, sizeof(buf), "EAP Failure");
535 os_snprintf(buf, sizeof(buf), "unknown EAP code")
    [all...]
os.h 358 * os_snprintf - Print to a memory buffer
370 * os_snprintf() should provide this guarantee, i.e., to null terminate the
378 int os_snprintf(char *str, size_t size, const char *format, ...);
448 #ifndef os_snprintf
450 #define os_snprintf _snprintf macro
452 #define os_snprintf snprintf macro
l2_packet_pcap.c 211 os_snprintf(ifname, sizeof(ifname), "\\Device\\NPF_%s", l2->ifname);
237 os_snprintf(pcap_filter, sizeof(pcap_filter),
359 os_snprintf(buf, len, "%s",
l2_packet_winpcap.c 181 os_snprintf(pcap_filter, sizeof(pcap_filter),
219 os_snprintf(l2->ifname, sizeof(l2->ifname), "\\Device\\NPF_%s",
322 os_snprintf(buf, len, "%s",
os_none.c 216 int os_snprintf(char *str, size_t size, const char *format, ...) function
l2_packet_freebsd.c 121 os_snprintf(pcap_filter, sizeof(pcap_filter),
265 os_snprintf(buf, len, "%s",
config_winreg.c 375 os_snprintf(buf, 256, WPA_KEY_PREFIX TEXT("\\configs\\%s"), name);
562 os_snprintf(val, sizeof(val), "%d", value);
687 os_snprintf(field, sizeof(field), "wep_key%d", idx);
714 os_snprintf(name, sizeof(name), "%04d", id);
848 os_snprintf(buf, 256, WPA_KEY_PREFIX TEXT("\\configs\\%s"), name);
ctrl_iface_unix.c 225 os_snprintf(buf, len, "%s/%s", dir, wpa_s->ifname);
278 os_snprintf(addr.sun_path, sizeof(addr.sun_path), "wpa_%s",
499 os_snprintf(levelstr, sizeof(levelstr), "<%d>", level);
pmksa_cache.c 449 ret = os_snprintf(pos, buf + len - pos,
459 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ",
466 ret = os_snprintf(pos, buf + len - pos, " %d %d\n",
  /external/wpa_supplicant_6/wpa_supplicant/
ctrl_iface.c 189 ret = os_snprintf(buf, buflen, "%s", pin);
200 ret = os_snprintf(buf, buflen, "%08d", ret);
327 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n",
344 ret = os_snprintf(pos, end - pos, "ssid=%s\nid=%d\n",
352 ret = os_snprintf(pos, end - pos,
363 ret = os_snprintf(pos, end - pos, "wpa_state=%s\n",
371 ret = os_snprintf(pos, end - pos, "ip_address=%s\n", tmp);
442 ret = os_snprintf(pos, end-pos, MACSTR"\n", MAC2STR(e->bssid));
495 ret = os_snprintf(pos, end-pos, "Current level: %d\n"
538 ret = os_snprintf(pos, end - pos
    [all...]
wpa_cli.c 154 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname);
317 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]);
357 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]);
376 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]);
397 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]);
417 res = os_snprintf(cmd, sizeof(cmd), "FT_DS %s", argv[0]);
437 res = os_snprintf(cmd, sizeof(cmd), "WPS_PBC %s", argv[0]);
461 res = os_snprintf(cmd, sizeof(cmd), "WPS_PIN %s", argv[0]);
470 res = os_snprintf(cmd, sizeof(cmd), "WPS_PIN %s %s", argv[0], argv[1]);
491 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", argv[0], argv[1])
    [all...]
config.c 291 res = os_snprintf(value, 20, "%d", *src);
330 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid));
479 ret = os_snprintf(pos, end - pos, "%sWPA", first ? "" : " ");
487 ret = os_snprintf(pos, end - pos, "%sRSN", first ? "" : " ");
584 ret = os_snprintf(pos, end - pos, "%sWPA-PSK",
594 ret = os_snprintf(pos, end - pos, "%sWPA-EAP",
604 ret = os_snprintf(pos, end - pos, "%sIEEE8021X",
614 ret = os_snprintf(pos, end - pos, "%sNONE",
624 ret = os_snprintf(pos, end - pos, "%sWPA-NONE",
635 pos += os_snprintf(pos, end - pos, "%sFT-PSK"
    [all...]
config_winreg.c 441 os_snprintf(buf, 256, WPA_KEY_PREFIX TEXT("\\configs\\%s"), name);
574 os_snprintf(vbuf, sizeof(vbuf), "%08x",
650 os_snprintf(val, sizeof(val), "%d", value);
775 os_snprintf(field, sizeof(field), "wep_key%d", idx);
802 os_snprintf(name, sizeof(name), "%04d", id);
944 os_snprintf(buf, 256, WPA_KEY_PREFIX TEXT("\\configs\\%s"), name);
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
driver_test.c 121 ret = os_snprintf(pos, end - pos, "SCAN " MACSTR,
126 ret = os_snprintf(pos, end - pos, " ");
141 os_snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s",
271 os_snprintf(drv->hostapd_addr.sun_path,
285 ret = os_snprintf(pos, end - pos, "ASSOC " MACSTR " ",
291 ret = os_snprintf(pos, end - pos, " ");
665 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR,
671 os_snprintf(drv->own_socket_path, 100,
883 os_snprintf(addr_un.sun_path, sizeof(addr_un.sun_path),
886 os_snprintf(addr_un.sun_path, sizeof(addr_un.sun_path)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
os.h 358 * os_snprintf - Print to a memory buffer
370 * os_snprintf() should provide this guarantee, i.e., to null terminate the
378 int os_snprintf(char *str, size_t size, const char *format, ...);
448 #ifndef os_snprintf
450 #define os_snprintf _snprintf macro
452 #define os_snprintf snprintf macro
uuid.c 60 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
os_none.c 222 int os_snprintf(char *str, size_t size, const char *format, ...) function
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_fast_pac.c 502 ret = os_snprintf(*pos, *buf + *buf_len - *pos, "%s=", field);
507 ret = os_snprintf(*pos, *buf + *buf_len - *pos, "\n");
513 ret = os_snprintf(*pos, *buf + *buf_len - *pos,
519 ret = os_snprintf(*pos, *buf + *buf_len - *pos,
525 ret = os_snprintf(*pos, *buf + *buf_len - *pos, "\n");
577 ret = os_snprintf(*pos, *buf + *buf_len - *pos,
600 ret = os_snprintf(*pos, *buf + *buf_len - *pos, "END\n");
632 ret = os_snprintf(pos, buf + buf_len - pos, "%s\n", pac_file_hdr);
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_privsep.c 162 os_snprintf(l2->own_socket_path, len, "%s/wpa_privsep-l2-%d-%d",
166 os_snprintf(l2->priv_addr.sun_path, sizeof(l2->priv_addr.sun_path),
  /external/wpa_supplicant_6/wpa_supplicant/src/common/
wpa_ctrl.c 95 ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path),
135 os_snprintf(ctrl->dest.sun_path, sizeof(ctrl->dest.sun_path), "wpa_%s",
455 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX);
457 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s",

Completed in 1310 milliseconds

1 2 3 4