/freebsd-12-stable/contrib/wpa/src/common/ |
H A D | ocv.c | 105 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 111 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 122 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 129 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 138 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 152 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 165 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr),
|
H A D | cli.c | 98 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); 147 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); 219 res = os_snprintf(pos, end - pos, "%s", cmd); 225 res = os_snprintf(pos, end - pos, " %s", argv[i]);
|
H A D | wpa_ctrl.c | 121 ret = os_snprintf(ctrl->local.sun_path, 126 ret = os_snprintf(ctrl->local.sun_path, 194 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path); 279 dirnamelen = (size_t) os_snprintf(pathname, sizeof(pathname), "%s/", 463 os_snprintf(ps, WPA_CTRL_MAX_PS_NAME, "%s/%s", 674 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX); 676 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s",
|
/freebsd-12-stable/contrib/wpa/src/ap/ |
H A D | taxonomy.c | 145 os_snprintf(wps, sizeof(wps), 150 ret = os_snprintf(fpos, fend - fpos, 156 os_snprintf(htcap, sizeof(htcap), 163 os_snprintf(htagg, sizeof(htagg), 168 os_snprintf(htmcs, sizeof(htmcs), 174 os_snprintf(vhtcap, sizeof(vhtcap), 181 os_snprintf(vhtrxmcs, sizeof(vhtrxmcs), 188 os_snprintf(vhttxmcs, sizeof(vhttxmcs), 199 p += os_snprintf(extcap, sizeof(extcap), 208 p += os_snprintf( [all...] |
H A D | ctrl_iface_ap.c | 35 ret = os_snprintf(buf + len, buflen - len, 44 ret = os_snprintf(buf + len, buflen - len, "\n"); 64 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" 74 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu", 80 ret = os_snprintf(buf + len, buflen - len, " mcs %u", 86 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", 92 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", 98 ret = os_snprintf(buf + len, buflen - len, " shortGI"); 102 ret = os_snprintf(buf + len, buflen - len, "\n"); 106 ret = os_snprintf(bu [all...] |
H A D | mbo_ap.c | 67 ret = os_snprintf(pos, end - pos, "%s%u", 126 ret = os_snprintf(pos, end - pos, "mbo_cell_capa=%u\n", sta->cell_capa); 134 ret = os_snprintf(pos2, end - pos2, 144 ret = os_snprintf(pos2, end - pos2, "%u%s", 157 ret = os_snprintf(pos2, end - pos2, "\n");
|
H A D | pmksa_cache_auth.c | 566 os_snprintf(buf, sizeof(buf), "%016llX", 638 ret = os_snprintf(pos, buf + len - pos, 646 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ", 653 ret = os_snprintf(pos, buf + len - pos, " %d %d\n", 701 ret = os_snprintf(pos, end - pos, MACSTR " ", 710 ret = os_snprintf(pos, end - pos, " "); 718 ret = os_snprintf(pos, end - pos, " %d\n",
|
H A D | vlan_full.c | 396 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 399 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", 430 ret = os_snprintf(br_name, IFNAMSIZ, "%s%d", 433 ret = os_snprintf(br_name, IFNAMSIZ, "br%s.%d", 436 ret = os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); 522 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 525 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d",
|
/freebsd-12-stable/contrib/wpa/src/fst/ |
H A D | fst_ctrl_iface.c | 50 os_snprintf(reject_str, sizeof(reject_str), "%u", 70 len = os_snprintf(buffer, size, 183 return os_snprintf(buf, buflen, "FAIL\n"); 191 return os_snprintf(buf, buflen, 222 return os_snprintf(buf, buflen, "FAIL\n"); 226 return os_snprintf(buf, buflen, "FAIL\n"); 241 return os_snprintf(buf, buflen, "FAIL\n"); 244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); 258 return os_snprintf(buf, buflen, "FAIL\n"); 266 return os_snprintf(bu [all...] |
/freebsd-12-stable/contrib/wpa/src/eapol_auth/ |
H A D | eapol_auth_dump.c | 130 ret = os_snprintf(pos, end - pos, "aWhile=%d\nquietWhile=%d\n" 138 ret = os_snprintf(pos, end - pos, 180 ret = os_snprintf(pos, end - pos, 222 ret = os_snprintf(pos, end - pos, 247 ret = os_snprintf(pos, end - pos, 258 ret = os_snprintf(pos, end - pos, 265 ret = os_snprintf(pos, end - pos, 274 ret = os_snprintf(pos, end - pos,
|
/freebsd-12-stable/contrib/wpa/hostapd/ |
H A D | hostapd_cli.c | 264 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); 282 os_snprintf(arg, len, "%s %s", arg1, arg2); 362 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", 365 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); 380 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", 383 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); 398 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); 455 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", 458 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", 500 os_snprintf(bu [all...] |
H A D | ctrl_iface.c | 215 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 222 ret = os_snprintf(buf, buflen, "%s", pin); 458 return os_snprintf(buf, buflen, "OK\n"); 467 return os_snprintf(buf, buflen, "%s", pin_txt); 474 return os_snprintf(buf, buflen, "%s", pin_txt); 491 return os_snprintf(buf, buflen, "%s", pin); 551 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", 558 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", 571 ret = os_snprintf(pos, end - pos, 581 ret = os_snprintf(po [all...] |
/freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 782 res = os_snprintf(buf, buflen, "%s", VERSION_STR); 785 res = os_snprintf(buf, buflen, "%c%c", 796 res = os_snprintf(buf, buflen, "%d", enabled); 945 ret = os_snprintf(buf, buflen, "%s\n", 1073 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status); 1260 ret = os_snprintf(buf, buflen, "%s", pin); 1272 ret = os_snprintf(buf, buflen, "%08d", ret); 1309 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 1316 ret = os_snprintf(buf, buflen, "%s", pin); 1804 return os_snprintf(bu [all...] |
H A D | config.c | 251 res = os_snprintf(value, 20, "%d", *src); 389 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid)); 434 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid_hint)); 578 res = os_snprintf(buf, len, "ext:%s", ssid->ext_psk); 668 ret = os_snprintf(pos, end - pos, "%sWPA", 676 ret = os_snprintf(pos, end - pos, "%sRSN", 684 ret = os_snprintf(pos, end - pos, "%sOSEN", 830 ret = os_snprintf(pos, end - pos, "%sWPA-PSK", 840 ret = os_snprintf(pos, end - pos, "%sWPA-EAP", 850 ret = os_snprintf(po [all...] |
H A D | wpa_cli.c | 160 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, 236 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s", 419 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]); 678 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH 0"); 680 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH %s", argv[0]); 768 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); 806 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", 817 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[2][i]); 825 os_snprintf(&key_hex[i * 2], 3, "%02x", 830 res = os_snprintf(cm [all...] |
H A D | mesh.c | 568 ret = os_snprintf(pos, end - pos, "mesh_id=%s\n", mesh_id); 575 ret = os_snprintf(pos, end - pos, 611 ret = os_snprintf(pos, end - pos, "bss_basic_rate_set=%d", 618 ret = os_snprintf(pos, end - pos, " %d", 625 ret = os_snprintf(pos, end - pos, "\n"); 650 res = os_snprintf(ifname, len, "mesh-%s-%d", ifname_ptr, 656 res = os_snprintf(ifname, len, "mesh-%d", wpa_s->mesh_if_idx);
|
/freebsd-12-stable/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_android.c | 109 os_snprintf(&buf[bp], WEXT_PNO_SCAN_INTERVAL_LENGTH + 1, "%x", 114 os_snprintf(&buf[bp], WEXT_PNO_REPEAT_LENGTH + 1, "%x", 119 os_snprintf(&buf[bp], WEXT_PNO_MAX_REPEAT_LENGTH + 1, "%x",
|
/freebsd-12-stable/contrib/wpa/src/eap_server/ |
H A D | eap_sim_db.c | 89 os_snprintf(cmd, sizeof(cmd), "SELECT 1 FROM %s;", name); 192 os_snprintf(cmd, sizeof(cmd), "INSERT OR REPLACE INTO pseudonyms " 231 os_snprintf(cmd, sizeof(cmd), 257 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth " 268 pos += os_snprintf(pos, end - pos, ", '"); 270 pos += os_snprintf(pos, end - pos, "'"); 274 pos += os_snprintf(pos, end - pos, ", '"); 277 pos += os_snprintf(pos, end - pos, "'"); 281 pos += os_snprintf(pos, end - pos, ", '"); 284 pos += os_snprintf(po [all...] |
/freebsd-12-stable/contrib/wpa/src/utils/ |
H A D | uuid.c | 53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
|
H A D | os.h | 454 * os_snprintf - Print to a memory buffer 466 * os_snprintf() should provide this guarantee, i.e., to null terminate the 474 int os_snprintf(char *str, size_t size, const char *format, ...); 548 #ifndef os_snprintf 550 #define os_snprintf _snprintf macro 552 #define os_snprintf snprintf macro
|
H A D | os_none.c | 238 int os_snprintf(char *str, size_t size, const char *format, ...) function
|
H A D | common.c | 202 res = os_snprintf(buf, len, MACSTR "/" MACSTR, 205 res = os_snprintf(buf, len, MACSTR, MAC2STR(addr)); 303 ret = os_snprintf(pos, end - pos, "%02x%c", 325 ret = os_snprintf(pos, end - pos, uppercase ? "%02X" : "%02x", 514 txt += os_snprintf(txt, end - txt, "\\x%02x", 860 res = os_snprintf(pos, end - pos, "%s%u", 863 res = os_snprintf(pos, end - pos, "%s%u-%u",
|
/freebsd-12-stable/contrib/wpa/src/wps/ |
H A D | wps.c | 558 ret = os_snprintf(pos, end - pos, 561 ret = os_snprintf(pos, end - pos, 571 ret = os_snprintf(pos, end - pos, 579 ret = os_snprintf(pos, end - pos, 587 ret = os_snprintf(pos, end - pos, 596 ret = os_snprintf(pos, end - pos, 607 ret = os_snprintf(pos, end - pos, 630 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); 638 ret = os_snprintf(pos, end - pos,
|
/freebsd-12-stable/contrib/wpa/hs20/client/ |
H A D | est.c | 134 os_snprintf(buf, buflen, "%s/cacerts", url); 462 os_snprintf(name, sizeof(name), "cert-user-%u", val); 616 os_snprintf(buf, buflen, "%s/csrattrs", url); 662 os_snprintf(old_cert_buf, sizeof(old_cert_buf), 709 os_snprintf(buf, buflen, "%s/simplereenroll", url); 710 os_snprintf(client_cert_buf, sizeof(client_cert_buf), 713 os_snprintf(client_key_buf, sizeof(client_key_buf), 717 os_snprintf(buf, buflen, "%s/simpleenroll", url);
|
/freebsd-12-stable/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 382 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 485 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 518 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, 1028 os_snprintf(sta_mac, WPAS_DBUS_OBJECT_PATH_MAX, MACSTR, MAC2STR(sta)); 1275 os_snprintf(pin, sizeof(pin), "%08d", generated_pin); 1288 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1353 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1393 os_snprintf(group_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1564 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1731 os_snprintf(peer_obj_pat [all...] |