Home
last modified time | relevance | path

Searched refs:CTRL_IFACE_MAX_LEN (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.h14 #ifndef CTRL_IFACE_MAX_LEN
15 #define CTRL_IFACE_MAX_LEN 8192 macro
H A Dctrl_iface_udp.c238 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1);
241 res = recvfrom(sock, buf, CTRL_IFACE_MAX_LEN, 0,
275 if ((size_t) res > CTRL_IFACE_MAX_LEN) {
639 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1);
642 res = recvfrom(sock, buf, CTRL_IFACE_MAX_LEN, 0,
676 if ((size_t) res > CTRL_IFACE_MAX_LEN) {
H A Dctrl_iface_unix.c142 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1); in wpa_supplicant_ctrl_iface_receive()
145 res = recvfrom(sock, buf, CTRL_IFACE_MAX_LEN + 1, 0, in wpa_supplicant_ctrl_iface_receive()
153 if ((size_t) res > CTRL_IFACE_MAX_LEN) { in wpa_supplicant_ctrl_iface_receive()
696 } else if (optval < CTRL_IFACE_MAX_LEN) { in wpas_ctrl_iface_open_sock()
697 optval = CTRL_IFACE_MAX_LEN; in wpas_ctrl_iface_open_sock()
1130 buf = os_malloc(CTRL_IFACE_MAX_LEN + 1); in wpa_supplicant_global_ctrl_iface_receive()
1133 res = recvfrom(sock, buf, CTRL_IFACE_MAX_LEN + 1, 0, in wpa_supplicant_global_ctrl_iface_receive()
1141 if ((size_t) res > CTRL_IFACE_MAX_LEN) { in wpa_supplicant_global_ctrl_iface_receive()
H A Dctrl_iface_named_pipe.c48 #define REQUEST_BUFSIZE CTRL_IFACE_MAX_LEN
H A Dctrl_iface.c985 res = os_snprintf(buf, buflen, "%u", CTRL_IFACE_MAX_LEN); in wpa_supplicant_ctrl_iface_get()