Lines Matching refs:reply_len
1860 int reply_len; in hostapd_ctrl_iface_receive() local
1886 reply_len = 3; in hostapd_ctrl_iface_receive()
1890 reply_len = 5; in hostapd_ctrl_iface_receive()
1893 reply_len = -1; in hostapd_ctrl_iface_receive()
1895 reply_len = hostapd_ctrl_iface_status(hapd, reply, in hostapd_ctrl_iface_receive()
1898 reply_len = hostapd_drv_status(hapd, reply, reply_size); in hostapd_ctrl_iface_receive()
1900 reply_len = ieee802_11_get_mib(hapd, reply, reply_size); in hostapd_ctrl_iface_receive()
1901 if (reply_len >= 0) { in hostapd_ctrl_iface_receive()
1902 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive()
1903 reply_size - reply_len); in hostapd_ctrl_iface_receive()
1905 reply_len = -1; in hostapd_ctrl_iface_receive()
1907 reply_len += res; in hostapd_ctrl_iface_receive()
1909 if (reply_len >= 0) { in hostapd_ctrl_iface_receive()
1910 res = ieee802_1x_get_mib(hapd, reply + reply_len, in hostapd_ctrl_iface_receive()
1911 reply_size - reply_len); in hostapd_ctrl_iface_receive()
1913 reply_len = -1; in hostapd_ctrl_iface_receive()
1915 reply_len += res; in hostapd_ctrl_iface_receive()
1918 if (reply_len >= 0) { in hostapd_ctrl_iface_receive()
1920 reply + reply_len, in hostapd_ctrl_iface_receive()
1921 reply_size - reply_len); in hostapd_ctrl_iface_receive()
1923 reply_len = -1; in hostapd_ctrl_iface_receive()
1925 reply_len += res; in hostapd_ctrl_iface_receive()
1929 reply_len = hostapd_ctrl_iface_mib(hapd, reply, reply_size, in hostapd_ctrl_iface_receive()
1932 reply_len = hostapd_ctrl_iface_sta_first(hapd, reply, in hostapd_ctrl_iface_receive()
1935 reply_len = hostapd_ctrl_iface_sta(hapd, buf + 4, reply, in hostapd_ctrl_iface_receive()
1938 reply_len = hostapd_ctrl_iface_sta_next(hapd, buf + 9, reply, in hostapd_ctrl_iface_receive()
1942 reply_len = -1; in hostapd_ctrl_iface_receive()
1945 reply_len = -1; in hostapd_ctrl_iface_receive()
1949 reply_len = -1; in hostapd_ctrl_iface_receive()
1952 reply_len = -1; in hostapd_ctrl_iface_receive()
1955 reply_len = -1; in hostapd_ctrl_iface_receive()
1958 reply_len = -1; in hostapd_ctrl_iface_receive()
1961 reply_len = -1; in hostapd_ctrl_iface_receive()
1966 reply_len = -1; in hostapd_ctrl_iface_receive()
1972 reply_len = -1; in hostapd_ctrl_iface_receive()
1974 reply_len = hostapd_ctrl_iface_wps_check_pin( in hostapd_ctrl_iface_receive()
1978 reply_len = -1; in hostapd_ctrl_iface_receive()
1981 reply_len = -1; in hostapd_ctrl_iface_receive()
1983 reply_len = hostapd_ctrl_iface_wps_ap_pin(hapd, buf + 11, in hostapd_ctrl_iface_receive()
1987 reply_len = -1; in hostapd_ctrl_iface_receive()
1989 reply_len = hostapd_ctrl_iface_wps_get_status(hapd, reply, in hostapd_ctrl_iface_receive()
1994 reply_len = -1; in hostapd_ctrl_iface_receive()
1996 reply_len = hostapd_ctrl_iface_wps_nfc_config_token( in hostapd_ctrl_iface_receive()
1999 reply_len = hostapd_ctrl_iface_wps_nfc_token( in hostapd_ctrl_iface_receive()
2002 reply_len = hostapd_ctrl_iface_nfc_get_handover_sel( in hostapd_ctrl_iface_receive()
2006 reply_len = -1; in hostapd_ctrl_iface_receive()
2012 reply_len = -1; in hostapd_ctrl_iface_receive()
2015 reply_len = -1; in hostapd_ctrl_iface_receive()
2020 reply_len = -1; in hostapd_ctrl_iface_receive()
2023 reply_len = -1; in hostapd_ctrl_iface_receive()
2028 reply_len = -1; in hostapd_ctrl_iface_receive()
2031 reply_len = -1; in hostapd_ctrl_iface_receive()
2034 reply_len = -1; in hostapd_ctrl_iface_receive()
2037 reply_len = hostapd_ctrl_iface_get_config(hapd, reply, in hostapd_ctrl_iface_receive()
2041 reply_len = -1; in hostapd_ctrl_iface_receive()
2043 reply_len = hostapd_ctrl_iface_get(hapd, buf + 4, reply, in hostapd_ctrl_iface_receive()
2047 reply_len = -1; in hostapd_ctrl_iface_receive()
2050 reply_len = -1; in hostapd_ctrl_iface_receive()
2053 reply_len = -1; in hostapd_ctrl_iface_receive()
2056 reply_len = -1; in hostapd_ctrl_iface_receive()
2060 reply_len = -1; in hostapd_ctrl_iface_receive()
2063 reply_len = -1; in hostapd_ctrl_iface_receive()
2066 reply_len = -1; in hostapd_ctrl_iface_receive()
2069 reply_len = -1; in hostapd_ctrl_iface_receive()
2072 reply_len = -1; in hostapd_ctrl_iface_receive()
2075 reply_len = -1; in hostapd_ctrl_iface_receive()
2078 reply_len = -1; in hostapd_ctrl_iface_receive()
2080 reply_len = hostapd_ctrl_get_alloc_fail(hapd, reply, in hostapd_ctrl_iface_receive()
2085 reply_len = -1; in hostapd_ctrl_iface_receive()
2087 reply_len = hostapd_ctrl_iface_vendor(hapd, buf + 7, reply, in hostapd_ctrl_iface_receive()
2096 reply_len = 16; in hostapd_ctrl_iface_receive()
2099 if (reply_len < 0) { in hostapd_ctrl_iface_receive()
2101 reply_len = 5; in hostapd_ctrl_iface_receive()
2103 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_ctrl_iface_receive()
2382 int reply_len; in hostapd_global_ctrl_iface_receive() local
2395 reply_len = 3; in hostapd_global_ctrl_iface_receive()
2399 reply_len = 5; in hostapd_global_ctrl_iface_receive()
2402 reply_len = -1; in hostapd_global_ctrl_iface_receive()
2407 reply_len = -1; in hostapd_global_ctrl_iface_receive()
2410 reply_len = -1; in hostapd_global_ctrl_iface_receive()
2415 reply_len = -1; in hostapd_global_ctrl_iface_receive()
2420 reply_len = -1; in hostapd_global_ctrl_iface_receive()
2423 if (reply_len < 0) { in hostapd_global_ctrl_iface_receive()
2425 reply_len = 5; in hostapd_global_ctrl_iface_receive()
2428 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_global_ctrl_iface_receive()