Lines Matching refs:len
34 size_t len = curr_len; in hostapd_write_ht_mcs_bitmask() local
36 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask()
38 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask()
39 return len; in hostapd_write_ht_mcs_bitmask()
40 len += ret; in hostapd_write_ht_mcs_bitmask()
43 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask()
45 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask()
46 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask()
48 len += ret; in hostapd_write_ht_mcs_bitmask()
50 return len; in hostapd_write_ht_mcs_bitmask()
86 int len = 0; in hostapd_get_sta_info() local
99 len += ret; in hostapd_get_sta_info()
101 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu", in hostapd_get_sta_info()
103 if (os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
104 return len; in hostapd_get_sta_info()
105 len += ret; in hostapd_get_sta_info()
107 ret = os_snprintf(buf + len, buflen - len, " mcs %u", in hostapd_get_sta_info()
109 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
110 len += ret; in hostapd_get_sta_info()
113 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", in hostapd_get_sta_info()
115 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
116 len += ret; in hostapd_get_sta_info()
119 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", in hostapd_get_sta_info()
121 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
122 len += ret; in hostapd_get_sta_info()
125 ret = os_snprintf(buf + len, buflen - len, " shortGI"); in hostapd_get_sta_info()
126 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
127 len += ret; in hostapd_get_sta_info()
129 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_get_sta_info()
130 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
131 len += ret; in hostapd_get_sta_info()
133 ret = os_snprintf(buf + len, buflen - len, "tx_rate_info=%lu", in hostapd_get_sta_info()
135 if (os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
136 return len; in hostapd_get_sta_info()
137 len += ret; in hostapd_get_sta_info()
139 ret = os_snprintf(buf + len, buflen - len, " mcs %u", in hostapd_get_sta_info()
141 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
142 len += ret; in hostapd_get_sta_info()
145 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", in hostapd_get_sta_info()
147 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
148 len += ret; in hostapd_get_sta_info()
151 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", in hostapd_get_sta_info()
153 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
154 len += ret; in hostapd_get_sta_info()
157 ret = os_snprintf(buf + len, buflen - len, " shortGI"); in hostapd_get_sta_info()
158 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
159 len += ret; in hostapd_get_sta_info()
161 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_get_sta_info()
162 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
163 len += ret; in hostapd_get_sta_info()
166 ret = os_snprintf(buf + len, buflen - len, in hostapd_get_sta_info()
173 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
174 len += ret; in hostapd_get_sta_info()
178 len = hostapd_write_ht_mcs_bitmask(buf, buflen, len, in hostapd_get_sta_info()
184 ret = os_snprintf(buf + len, buflen - len, in hostapd_get_sta_info()
186 if (!os_snprintf_error(buflen - len, ret)) in hostapd_get_sta_info()
187 len += ret; in hostapd_get_sta_info()
190 len += hostapd_get_sta_conn_time(sta, &data, buf + len, buflen - len); in hostapd_get_sta_info()
192 return len; in hostapd_get_sta_info()
239 int len, res, ret, i; in hostapd_ctrl_iface_sta_mib() local
246 len = 0; in hostapd_ctrl_iface_sta_mib()
247 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=", in hostapd_ctrl_iface_sta_mib()
249 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
250 return len; in hostapd_ctrl_iface_sta_mib()
251 len += ret; in hostapd_ctrl_iface_sta_mib()
253 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
255 return len; in hostapd_ctrl_iface_sta_mib()
256 len += ret; in hostapd_ctrl_iface_sta_mib()
258 ret = os_snprintf(buf + len, buflen - len, "\naid=%d\ncapability=0x%x\n" in hostapd_ctrl_iface_sta_mib()
261 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
262 return len; in hostapd_ctrl_iface_sta_mib()
263 len += ret; in hostapd_ctrl_iface_sta_mib()
266 ret = os_snprintf(buf + len, buflen - len, "%02x%s", in hostapd_ctrl_iface_sta_mib()
269 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
270 return len; in hostapd_ctrl_iface_sta_mib()
271 len += ret; in hostapd_ctrl_iface_sta_mib()
274 ret = os_snprintf(buf + len, buflen - len, "\ntimeout_next=%s\n", in hostapd_ctrl_iface_sta_mib()
276 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
277 return len; in hostapd_ctrl_iface_sta_mib()
278 len += ret; in hostapd_ctrl_iface_sta_mib()
281 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
283 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
284 return len; in hostapd_ctrl_iface_sta_mib()
285 len += ret; in hostapd_ctrl_iface_sta_mib()
288 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
290 len += res; in hostapd_ctrl_iface_sta_mib()
291 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
293 len += res; in hostapd_ctrl_iface_sta_mib()
294 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
296 len += res; in hostapd_ctrl_iface_sta_mib()
297 res = hostapd_wps_get_mib_sta(hapd, sta->addr, buf + len, in hostapd_ctrl_iface_sta_mib()
298 buflen - len); in hostapd_ctrl_iface_sta_mib()
300 len += res; in hostapd_ctrl_iface_sta_mib()
301 res = hostapd_p2p_get_mib_sta(hapd, sta, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
303 len += res; in hostapd_ctrl_iface_sta_mib()
305 len += hostapd_get_sta_info(hapd, sta, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
309 res = os_snprintf(buf + len, buflen - len, "sae_group=%d\n", in hostapd_ctrl_iface_sta_mib()
311 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
312 len += res; in hostapd_ctrl_iface_sta_mib()
320 res = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
322 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
323 len += res; in hostapd_ctrl_iface_sta_mib()
333 res = os_snprintf(buf + len, buflen - len, "%s%d", in hostapd_ctrl_iface_sta_mib()
335 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
336 len += res; in hostapd_ctrl_iface_sta_mib()
340 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
341 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
342 len += res; in hostapd_ctrl_iface_sta_mib()
347 res = os_snprintf(buf + len, buflen - len, "vlan_id=%d\n", in hostapd_ctrl_iface_sta_mib()
349 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
350 len += res; in hostapd_ctrl_iface_sta_mib()
353 res = mbo_ap_get_info(sta, buf + len, buflen - len); in hostapd_ctrl_iface_sta_mib()
355 len += res; in hostapd_ctrl_iface_sta_mib()
358 buflen - len > (unsigned) (17 + 2 * sta->supp_op_classes[0])) { in hostapd_ctrl_iface_sta_mib()
359 res = os_snprintf(buf + len, buflen - len, "supp_op_classes="); in hostapd_ctrl_iface_sta_mib()
360 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
361 len += res; in hostapd_ctrl_iface_sta_mib()
362 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
365 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
366 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
367 len += res; in hostapd_ctrl_iface_sta_mib()
371 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
375 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
376 len += ret; in hostapd_ctrl_iface_sta_mib()
381 res = os_snprintf(buf + len, buflen - len, "he_capab="); in hostapd_ctrl_iface_sta_mib()
382 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
383 len += res; in hostapd_ctrl_iface_sta_mib()
384 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
387 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
388 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
389 len += res; in hostapd_ctrl_iface_sta_mib()
395 res = os_snprintf(buf + len, buflen - len, "eht_capab="); in hostapd_ctrl_iface_sta_mib()
396 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
397 len += res; in hostapd_ctrl_iface_sta_mib()
398 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
401 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
402 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
403 len += res; in hostapd_ctrl_iface_sta_mib()
409 res = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
413 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
414 len += res; in hostapd_ctrl_iface_sta_mib()
416 res = os_snprintf(buf + len, buflen - len, "vht_capab="); in hostapd_ctrl_iface_sta_mib()
417 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
418 len += res; in hostapd_ctrl_iface_sta_mib()
419 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
422 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
423 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
424 len += res; in hostapd_ctrl_iface_sta_mib()
429 res = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
433 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
434 len += res; in hostapd_ctrl_iface_sta_mib()
438 buflen - len > (unsigned) (11 + 2 * sta->ext_capability[0])) { in hostapd_ctrl_iface_sta_mib()
439 res = os_snprintf(buf + len, buflen - len, "ext_capab="); in hostapd_ctrl_iface_sta_mib()
440 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
441 len += res; in hostapd_ctrl_iface_sta_mib()
442 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
445 res = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
446 if (!os_snprintf_error(buflen - len, res)) in hostapd_ctrl_iface_sta_mib()
447 len += res; in hostapd_ctrl_iface_sta_mib()
451 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
453 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
454 len += ret; in hostapd_ctrl_iface_sta_mib()
459 ret = os_snprintf(buf + len, buflen - len, "keyid=%s\n", keyid); in hostapd_ctrl_iface_sta_mib()
460 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
461 len += ret; in hostapd_ctrl_iface_sta_mib()
466 ret = os_snprintf(buf + len, buflen - len, "dpp_pkhash="); in hostapd_ctrl_iface_sta_mib()
467 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
468 len += ret; in hostapd_ctrl_iface_sta_mib()
469 len += wpa_snprintf_hex(buf + len, buflen - len, dpp_pkhash, in hostapd_ctrl_iface_sta_mib()
471 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_sta_mib()
472 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
473 len += ret; in hostapd_ctrl_iface_sta_mib()
482 buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
485 if (!os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_sta_mib()
486 len += ret; in hostapd_ctrl_iface_sta_mib()
491 return len; in hostapd_ctrl_iface_sta_mib()
789 int len = 0, ret, j; in hostapd_ctrl_iface_status() local
792 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
819 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
820 return len; in hostapd_ctrl_iface_status()
821 len += ret; in hostapd_ctrl_iface_status()
824 ret = os_snprintf(buf + len, buflen - len, "hw_mode=%s\n", in hostapd_ctrl_iface_status()
826 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
827 return len; in hostapd_ctrl_iface_status()
828 len += ret; in hostapd_ctrl_iface_status()
832 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
836 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
837 return len; in hostapd_ctrl_iface_status()
838 len += ret; in hostapd_ctrl_iface_status()
842 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
853 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
859 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
860 return len; in hostapd_ctrl_iface_status()
861 len += ret; in hostapd_ctrl_iface_status()
863 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
888 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
889 return len; in hostapd_ctrl_iface_status()
890 len += ret; in hostapd_ctrl_iface_status()
894 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
899 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
900 return len; in hostapd_ctrl_iface_status()
901 len += ret; in hostapd_ctrl_iface_status()
906 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
909 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
910 return len; in hostapd_ctrl_iface_status()
911 len += ret; in hostapd_ctrl_iface_status()
917 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
920 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
921 return len; in hostapd_ctrl_iface_status()
922 len += ret; in hostapd_ctrl_iface_status()
925 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
930 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
931 return len; in hostapd_ctrl_iface_status()
932 len += ret; in hostapd_ctrl_iface_status()
939 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
944 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
945 return len; in hostapd_ctrl_iface_status()
946 len += ret; in hostapd_ctrl_iface_status()
954 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
961 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
962 return len; in hostapd_ctrl_iface_status()
963 len += ret; in hostapd_ctrl_iface_status()
967 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
970 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
971 return len; in hostapd_ctrl_iface_status()
972 len += ret; in hostapd_ctrl_iface_status()
978 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
987 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
988 return len; in hostapd_ctrl_iface_status()
989 len += ret; in hostapd_ctrl_iface_status()
996 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1000 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1001 return len; in hostapd_ctrl_iface_status()
1002 len += ret; in hostapd_ctrl_iface_status()
1006 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1009 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1010 return len; in hostapd_ctrl_iface_status()
1011 len += ret; in hostapd_ctrl_iface_status()
1015 len = hostapd_write_ht_mcs_bitmask(buf, buflen, len, in hostapd_ctrl_iface_status()
1020 ret = os_snprintf(buf + len, buflen - len, "supported_rates="); in hostapd_ctrl_iface_status()
1021 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1022 return len; in hostapd_ctrl_iface_status()
1023 len += ret; in hostapd_ctrl_iface_status()
1026 ret = os_snprintf(buf + len, buflen - len, "%s%02x", in hostapd_ctrl_iface_status()
1029 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1030 return len; in hostapd_ctrl_iface_status()
1031 len += ret; in hostapd_ctrl_iface_status()
1033 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_ctrl_iface_status()
1034 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1035 return len; in hostapd_ctrl_iface_status()
1036 len += ret; in hostapd_ctrl_iface_status()
1041 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1044 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1045 return len; in hostapd_ctrl_iface_status()
1046 len += ret; in hostapd_ctrl_iface_status()
1053 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1064 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1065 return len; in hostapd_ctrl_iface_status()
1066 len += ret; in hostapd_ctrl_iface_status()
1070 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1077 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1078 return len; in hostapd_ctrl_iface_status()
1079 len += ret; in hostapd_ctrl_iface_status()
1085 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_status()
1088 if (os_snprintf_error(buflen - len, ret)) in hostapd_ctrl_iface_status()
1089 return len; in hostapd_ctrl_iface_status()
1090 len += ret; in hostapd_ctrl_iface_status()
1093 return len; in hostapd_ctrl_iface_status()
1157 size_t len) in hostapd_ctrl_iface_pmksa_list() argument
1159 return wpa_auth_pmksa_list(hapd->wpa_auth, buf, len); in hostapd_ctrl_iface_pmksa_list()
1221 const u8 *addr, char *buf, size_t len) in hostapd_ctrl_iface_pmksa_list_mesh() argument
1223 return wpa_auth_pmksa_list_mesh(hapd->wpa_auth, addr, buf, len); in hostapd_ctrl_iface_pmksa_list_mesh()
1413 size_t len; in hostapd_ctrl_iface_bss_tm_req() local
1417 len = end - pos; in hostapd_ctrl_iface_bss_tm_req()
1419 len = os_strlen(pos); in hostapd_ctrl_iface_bss_tm_req()
1420 url = os_malloc(len + 1); in hostapd_ctrl_iface_bss_tm_req()
1423 os_memcpy(url, pos, len); in hostapd_ctrl_iface_bss_tm_req()
1424 url[len] = '\0'; in hostapd_ctrl_iface_bss_tm_req()
1540 int i = 0, len = 0, ret = 0; in hostapd_ctrl_iface_acl_show_mac() local
1546 ret = os_snprintf(buf + len, buflen - len, in hostapd_ctrl_iface_acl_show_mac()
1550 if (ret < 0 || (size_t) ret >= buflen - len) in hostapd_ctrl_iface_acl_show_mac()
1551 return len; in hostapd_ctrl_iface_acl_show_mac()
1553 len += ret; in hostapd_ctrl_iface_acl_show_mac()
1555 return len; in hostapd_ctrl_iface_acl_show_mac()