Home | History | Annotate | Download | only in hostapd

Lines Matching refs:reply_len

846 	int reply_len;
868 reply_len = 3;
872 reply_len = 5;
875 reply_len = -1;
877 reply_len = ieee802_11_get_mib(hapd, reply, reply_size);
878 if (reply_len >= 0) {
879 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len,
880 reply_size - reply_len);
882 reply_len = -1;
884 reply_len += res;
886 if (reply_len >= 0) {
887 res = ieee802_1x_get_mib(hapd, reply + reply_len,
888 reply_size - reply_len);
890 reply_len = -1;
892 reply_len += res;
895 if (reply_len >= 0) {
897 reply + reply_len,
898 reply_size - reply_len);
900 reply_len = -1;
902 reply_len += res;
906 reply_len = hostapd_ctrl_iface_sta_first(hapd, reply,
909 reply_len = hostapd_ctrl_iface_sta(hapd, buf + 4, reply,
912 reply_len = hostapd_ctrl_iface_sta_next(hapd, buf + 9, reply,
916 reply_len = -1;
919 reply_len = -1;
923 reply_len = -1;
926 reply_len = -1;
929 reply_len = -1;
932 reply_len = -1;
937 reply_len = -1;
943 reply_len = -1;
945 reply_len = hostapd_ctrl_iface_wps_check_pin(
949 reply_len = -1;
952 reply_len = -1;
954 reply_len = hostapd_ctrl_iface_wps_ap_pin(hapd, buf + 11,
958 reply_len = -1;
962 reply_len = -1;
964 reply_len = hostapd_ctrl_iface_wps_nfc_config_token(
967 reply_len = hostapd_ctrl_iface_wps_nfc_token(
970 reply_len = hostapd_ctrl_iface_nfc_get_handover_sel(
974 reply_len = -1;
980 reply_len = -1;
983 reply_len = -1;
986 reply_len = hostapd_ctrl_iface_get_config(hapd, reply,
990 reply_len = -1;
992 reply_len = hostapd_ctrl_iface_get(hapd, buf + 4, reply,
996 reply_len = -1;
999 reply_len = -1;
1002 reply_len = -1;
1005 reply_len = 16;
1008 if (reply_len < 0) {
1010 reply_len = 5;
1012 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, fromlen);
1257 int reply_len;
1268 reply_len = 3;
1272 reply_len = 5;
1275 reply_len = -1;
1278 reply_len = -1;
1282 reply_len = -1;
1285 if (reply_len < 0) {
1287 reply_len = 5;
1290 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, fromlen);