/hostap-latest/src/common/ |
D | wpa_helpers.c | 101 char *buf, size_t buf_size) in get_wpa_cli_event2() argument 131 len = buf_size; in get_wpa_cli_event2() 136 if (len == buf_size) in get_wpa_cli_event2() 157 const char *event, char *buf, size_t buf_size) in get_wpa_cli_event() argument 159 return get_wpa_cli_event2(mon, event, NULL, buf, buf_size); in get_wpa_cli_event()
|
D | wpa_helpers.h | 22 const char *event, char *buf, size_t buf_size); 25 char *buf, size_t buf_size);
|
/hostap-latest/src/tls/ |
D | tlsv1_record.c | 151 size_t buf_size, const u8 *payload, size_t payload_len, in tlsv1_record_send() argument 160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size) in tlsv1_record_send() 179 if (pos + rl->iv_size > buf + buf_size) in tlsv1_record_send() 196 if (pos + payload_len > buf + buf_size) in tlsv1_record_send() 218 clen = buf + buf_size - pos; in tlsv1_record_send() 240 if (pos + pad + 1 > buf + buf_size) { in tlsv1_record_send()
|
D | tlsv1_record.h | 65 size_t buf_size, const u8 *payload, size_t payload_len,
|
/hostap-latest/src/utils/ |
D | common.c | 293 int wpa_snprintf_hex_sep(char *buf, size_t buf_size, const u8 *data, size_t len, in wpa_snprintf_hex_sep() argument 297 char *pos = buf, *end = buf + buf_size; in wpa_snprintf_hex_sep() 300 if (buf_size == 0) in wpa_snprintf_hex_sep() 317 static inline int _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, in _wpa_snprintf_hex() argument 321 char *pos = buf, *end = buf + buf_size; in _wpa_snprintf_hex() 323 if (buf_size == 0) in _wpa_snprintf_hex() 346 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex() argument 348 return _wpa_snprintf_hex(buf, buf_size, data, len, 0); in wpa_snprintf_hex() 360 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data, in wpa_snprintf_hex_uppercase() argument 363 return _wpa_snprintf_hex(buf, buf_size, data, len, 1); in wpa_snprintf_hex_uppercase()
|
D | common.h | 530 int wpa_snprintf_hex_sep(char *buf, size_t buf_size, const u8 *data, size_t len, 532 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len); 533 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data,
|
/hostap-latest/src/wps/ |
D | wps_upnp.c | 485 int buf_size = 0; in upnp_wps_device_send_event() local 525 buf_size += os_strlen(format_head); in upnp_wps_device_send_event() 526 buf_size += 50 + 2 * os_strlen("WLANEvent"); in upnp_wps_device_send_event() 528 buf_size += os_strlen(sm->wlanevent); in upnp_wps_device_send_event() 529 buf_size += os_strlen(format_tail); in upnp_wps_device_send_event() 531 buf = wpabuf_alloc(buf_size); in upnp_wps_device_send_event()
|
/hostap-latest/src/radius/ |
D | radius_server.c | 2039 const int buf_size = 1024; in radius_server_read_clients() local 2055 buf = os_malloc(buf_size); in radius_server_read_clients() 2062 while (fgets(buf, buf_size, f)) { in radius_server_read_clients() 2069 buf[buf_size - 1] = '\0'; in radius_server_read_clients()
|
/hostap-latest/wpa_supplicant/ |
D | wpa_cli.c | 243 os_snprintf(buf, buf_size, "IFNAME=%s %s", in _wpa_ctrl_command() 245 buf[buf_size - 1] = '\0'; in _wpa_ctrl_command() 248 len = buf_size - 1; in _wpa_ctrl_command()
|