/freebsd/contrib/wpa/src/common/ |
H A D | gas_server.c | 57 static void gas_server_free_response(struct gas_server_response *response); 62 struct gas_server_response *response = eloop_ctx; in gas_server_response_timeout() local 66 response, MAC2STR(response->dst), response->dialog_token, in gas_server_response_timeout() 67 response->freq, response->frag_id, in gas_server_response_timeout() 68 (unsigned long) response->offset, in gas_server_response_timeout() 69 (unsigned long) (response->resp ? in gas_server_response_timeout() 70 wpabuf_len(response->resp) : 0)); in gas_server_response_timeout() 71 response->handler->status_cb(response->handler->ctx, in gas_server_response_timeout() 72 response->resp, 0); in gas_server_response_timeout() 73 response->resp = NULL; in gas_server_response_timeout() [all …]
|
/freebsd/crypto/openssh/regress/misc/sk-dummy/ |
H A D | sk-dummy.c | 91 pack_key_ecdsa(struct sk_enroll_response *response) in pack_key_ecdsa() argument 102 response->public_key = NULL; in pack_key_ecdsa() 103 response->public_key_len = 0; in pack_key_ecdsa() 104 response->key_handle = NULL; in pack_key_ecdsa() 105 response->key_handle_len = 0; in pack_key_ecdsa() 122 response->public_key_len = EC_POINT_point2oct(g, q, in pack_key_ecdsa() 124 if (response->public_key_len == 0 || response->public_key_len > 2048) { in pack_key_ecdsa() 126 response->public_key_len); in pack_key_ecdsa() 129 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_key_ecdsa() 134 response->public_key, response->public_key_len, NULL) == 0) { in pack_key_ecdsa() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerCommon.cpp | 180 StreamString response; in Handle_qHostInfo() local 186 response.PutCString("triple:"); in Handle_qHostInfo() 187 response.PutStringAsRawHex8(host_triple.getTriple()); in Handle_qHostInfo() 188 response.Printf(";ptrsize:%u;", host_arch.GetAddressByteSize()); in Handle_qHostInfo() 192 response.PutCString("distribution_id:"); in Handle_qHostInfo() 193 response.PutStringAsRawHex8(distribution_id); in Handle_qHostInfo() 194 response.PutCString(";"); in Handle_qHostInfo() 199 response.PutCString("vendor:apple;"); in Handle_qHostInfo() 205 response.Printf("cputype:%u;", cpu); in Handle_qHostInfo() 207 response.Printf("cpusubtype:%u;", sub); in Handle_qHostInfo() [all …]
|
H A D | GDBRemoteCommunicationClient.cpp | 211 StringExtractorGDBRemote response; in QueryNoAckModeSupported() local 212 if (SendPacketAndWaitForResponse("QStartNoAckMode", response) == in QueryNoAckModeSupported() 214 if (response.IsOKResponse()) { in QueryNoAckModeSupported() 228 StringExtractorGDBRemote response; in GetListThreadsInStopReplySupported() local 229 if (SendPacketAndWaitForResponse("QListThreadsInStopReply", response) == in GetListThreadsInStopReplySupported() 231 if (response.IsOKResponse()) in GetListThreadsInStopReplySupported() 241 StringExtractorGDBRemote response; in GetVAttachOrWaitSupported() local 242 if (SendPacketAndWaitForResponse("qVAttachOrWaitSupported", response) == in GetVAttachOrWaitSupported() 244 if (response.IsOKResponse()) in GetVAttachOrWaitSupported() 255 StringExtractorGDBRemote response; in GetSyncThreadStateSupported() local [all …]
|
H A D | GDBRemoteCommunicationServerLLGS.cpp | 485 StreamGDBRemote response; in SendWResponse() local 486 response.PutChar('E'); in SendWResponse() 487 response.PutHex8(GDBRemoteServerError::eErrorExitStatus); in SendWResponse() 488 return SendPacketNoLock(response.GetString()); in SendWResponse() 499 StreamGDBRemote response; in SendWResponse() local 500 response.Format("{0:g}", *wait_status); in SendWResponse() 503 response.Format(";process:{0:x-}", process->GetID()); in SendWResponse() 506 response.GetString()); in SendWResponse() 507 return SendPacketNoLock(response.GetString()); in SendWResponse() 510 static void AppendHexValue(StreamString &response, const uint8_t *buf, in AppendHexValue() argument [all …]
|
H A D | GDBRemoteClientBase.cpp | 41 StringExtractorGDBRemote &response) { in SendContinuePacketAndWaitForResponse() argument 43 response.Clear(); in SendContinuePacketAndWaitForResponse() 62 PacketResult read_result = ReadPacket(response, computed_timeout, false); in SendContinuePacketAndWaitForResponse() 94 if (response.Empty()) in SendContinuePacketAndWaitForResponse() 97 const char stop_type = response.GetChar(); in SendContinuePacketAndWaitForResponse() 99 response.GetStringRef().data()); in SendContinuePacketAndWaitForResponse() 114 response.GetHexByteString(inferior_stdout); in SendContinuePacketAndWaitForResponse() 120 llvm::StringRef(response.GetStringRef()).substr(1)); in SendContinuePacketAndWaitForResponse() 123 delegate.HandleAsyncStructuredDataPacket(response.GetStringRef()); in SendContinuePacketAndWaitForResponse() 128 const bool should_stop = ShouldStop(signals, response); in SendContinuePacketAndWaitForResponse() [all …]
|
H A D | GDBRemoteCommunicationServerPlatform.cpp | 270 StreamGDBRemote response; in Handle_qLaunchGDBServer() local 272 response.Printf("pid:%" PRIu64 ";port:%u;", debugserver_pid, in Handle_qLaunchGDBServer() 275 response.PutCString("socket_name:"); in Handle_qLaunchGDBServer() 276 response.PutStringAsRawHex8(socket_name); in Handle_qLaunchGDBServer() 277 response.PutChar(';'); in Handle_qLaunchGDBServer() 280 PacketResult packet_result = SendPacketNoLock(response.GetString()); in Handle_qLaunchGDBServer() 304 StreamGDBRemote response; in Handle_qQueryGDBServer() local 305 response.AsRawOstream() << std::move(server_list); in Handle_qQueryGDBServer() 308 escaped_response.PutEscapedBytes(response.GetString().data(), in Handle_qQueryGDBServer() 309 response.GetSize()); in Handle_qQueryGDBServer() [all …]
|
/freebsd/sys/cam/scsi/ |
H A D | smp_all.c | 278 smp_report_general_sbuf(struct smp_report_general_response *response, in smp_report_general_sbuf() argument 283 response->response_len, in smp_report_general_sbuf() 284 response->response_len * SMP_WORD_LEN); in smp_report_general_sbuf() 286 scsi_2btoul(response->expander_change_count)); in smp_report_general_sbuf() 288 scsi_2btoul(response->expander_route_indexes)); in smp_report_general_sbuf() 290 smp_yesno(response->long_response & in smp_report_general_sbuf() 292 sbuf_printf(sb, "Number of Phys: %d\n", response->num_phys); in smp_report_general_sbuf() 294 smp_yesno(response->config_bits0 & in smp_report_general_sbuf() 297 smp_yesno(response->config_bits0 & in smp_report_general_sbuf() 300 smp_yesno(response->config_bits0 & in smp_report_general_sbuf() [all …]
|
/freebsd/lib/libiscsiutil/ |
H A D | text.c | 98 struct pdu *response; in text_new_response() local 106 response = pdu_new_response(request); in text_new_response() 107 bhstr2 = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_new_response() 120 return (response); in text_new_response() 127 struct pdu *response; in text_receive_response() local 131 response = pdu_new(conn); in text_receive_response() 132 pdu_receive(response); in text_receive_response() 133 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_TEXT_RESPONSE) in text_receive_response() 135 response->pdu_bhs->bhs_opcode); in text_receive_response() 136 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_receive_response() [all …]
|
H A D | chap.c | 42 const void *challenge, size_t challenge_len, void *response, in chap_compute_md5() argument 53 MD5Final(response, &ctx); in chap_compute_md5() 270 chap_receive_bin(struct chap *chap, void *response, size_t response_len) in chap_receive_bin() argument 280 memcpy(chap->chap_response, response, response_len); in chap_receive_bin() 285 chap_receive(struct chap *chap, const char *response) in chap_receive() argument 291 error = chap_hex2bin(response, &response_bin, &response_bin_len); in chap_receive() 294 response); in chap_receive() 401 void *response; in rchap_get_response() local 405 rchap_get_response_bin(rchap, &response, &response_len); in rchap_get_response() 406 chap_r = chap_bin2hex(response, response_len); in rchap_get_response() [all …]
|
/freebsd/crypto/openssh/ |
H A D | sk-usbhid.c | 605 struct sk_enroll_response *response) in pack_public_key_ecdsa() argument 613 response->public_key = NULL; in pack_public_key_ecdsa() 614 response->public_key_len = 0; in pack_public_key_ecdsa() 642 response->public_key_len = EC_POINT_point2oct(g, q, in pack_public_key_ecdsa() 644 if (response->public_key_len == 0 || response->public_key_len > 2048) { in pack_public_key_ecdsa() 646 response->public_key_len); in pack_public_key_ecdsa() 649 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_public_key_ecdsa() 654 response->public_key, response->public_key_len, NULL) == 0) { in pack_public_key_ecdsa() 661 if (ret != 0 && response->public_key != NULL) { in pack_public_key_ecdsa() 662 memset(response->public_key, 0, response->public_key_len); in pack_public_key_ecdsa() [all …]
|
/freebsd/usr.sbin/iscsid/ |
H A D | login.c | 45 login_nsg(const struct pdu *response) in login_nsg() argument 49 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_nsg() 188 login_handle_redirection(struct iscsid_connection *conn, struct pdu *response) in login_handle_redirection() argument 194 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_handle_redirection() 198 keys_load_pdu(response_keys, response); in login_handle_redirection() 217 struct pdu *response; in login_receive() local 222 response = pdu_new(conn); in login_receive() 223 pdu_receive(response); in login_receive() 224 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_LOGIN_RESPONSE) { in login_receive() 226 response->pdu_bhs->bhs_opcode); in login_receive() [all …]
|
H A D | discovery.c | 44 struct pdu *response; in logout_receive() local 47 response = pdu_new(conn); in logout_receive() 48 pdu_receive(response); in logout_receive() 49 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_LOGOUT_RESPONSE) in logout_receive() 51 response->pdu_bhs->bhs_opcode); in logout_receive() 52 bhslr = (struct iscsi_bhs_logout_response *)response->pdu_bhs; in logout_receive() 63 return (response); in logout_receive() 117 struct pdu *request, *response; in discovery() local 167 response = logout_receive(&conn->conn); in discovery() 168 pdu_delete(response); in discovery()
|
/freebsd/usr.sbin/ctld/ |
H A D | login.c | 47 login_set_nsg(struct pdu *response, int nsg) in login_set_nsg() argument 55 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_set_nsg() 73 login_set_csg(struct pdu *response, int csg) in login_set_csg() argument 81 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_set_csg() 150 struct pdu *response; in login_new_response() local 158 response = pdu_new_response(request); in login_new_response() 159 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_new_response() 161 login_set_csg(response, BHSLR_STAGE_SECURITY_NEGOTIATION); in login_new_response() 169 return (response); in login_new_response() 175 struct pdu *response; in login_send_error() local [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | milter.c | 139 if (response == NULL || \ 140 strlen(response) + 1 != (size_t) rlen || \ 142 (response[0] != '4' && response[0] != '5') || \ 143 !isascii(response[1]) || !isdigit(response[1]) || \ 144 !isascii(response[2]) || !isdigit(response[2])) \ 146 if (response != NULL) \ 147 sm_free(response); /* XXX */ \ 148 response = newstr(default); \ 152 char *ptr = response; \ 159 sm_free(response); /* XXX */ \ [all …]
|
/freebsd/usr.bin/talk/ |
H A D | invite.c | 67 CTL_RESPONSE response; in invite_remote() local 105 ctl_transact(my_machine_addr, msg, DELETE, &response); in invite_remote() 107 ctl_transact(his_machine_addr, msg, DELETE, &response); in invite_remote() 148 CTL_RESPONSE response; in announce_invite() local 151 ctl_transact(his_machine_addr, msg, ANNOUNCE, &response); in announce_invite() 152 remote_id = response.id_num; in announce_invite() 153 if (response.answer != SUCCESS) { in announce_invite() 154 if (response.answer < NANSWERS) in announce_invite() 155 message(answers[response.answer]); in announce_invite() 160 ctl_transact(my_machine_addr, msg, LEAVE_INVITE, &response); in announce_invite() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | kcm.c | 176 krb5_storage *response; in krb5_kcm_call() local 187 response = krb5_storage_from_data(&response_data); in krb5_kcm_call() 188 if (response == NULL) { in krb5_kcm_call() 193 ret = krb5_ret_int32(response, &status); in krb5_kcm_call() 195 krb5_storage_free(response); in krb5_kcm_call() 201 krb5_storage_free(response); in krb5_kcm_call() 208 *response_p = response; in krb5_kcm_call() 213 krb5_storage_free(response); in krb5_kcm_call() 256 krb5_storage *request, *response; in kcm_gen_new() local 271 ret = krb5_kcm_call(context, request, &response, &response_data); in kcm_gen_new() [all …]
|
/freebsd/sys/dev/iscsi/ |
H A D | iscsi.c | 180 static void iscsi_pdu_update_statsn(const struct icl_pdu *response); 181 static void iscsi_pdu_handle_nop_in(struct icl_pdu *response); 182 static void iscsi_pdu_handle_scsi_response(struct icl_pdu *response); 183 static void iscsi_pdu_handle_task_response(struct icl_pdu *response); 184 static void iscsi_pdu_handle_data_in(struct icl_pdu *response); 185 static void iscsi_pdu_handle_logout_response(struct icl_pdu *response); 186 static void iscsi_pdu_handle_r2t(struct icl_pdu *response); 187 static void iscsi_pdu_handle_async_message(struct icl_pdu *response); 188 static void iscsi_pdu_handle_reject(struct icl_pdu *response); 681 iscsi_pdu_update_statsn(const struct icl_pdu *response) in iscsi_pdu_update_statsn() argument [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | ms_funcs.c | 146 u8 *response) in challenge_response() argument 150 if (des_encrypt(challenge, password_hash, response) < 0 || in challenge_response() 151 des_encrypt(challenge, password_hash + 7, response + 8) < 0) in challenge_response() 156 return des_encrypt(challenge, zpwd, response + 16); in challenge_response() 174 u8 *response) in generate_nt_response() argument 182 challenge_response(challenge, password_hash, response)) in generate_nt_response() 202 u8 *response) in generate_nt_response_pwhash() argument 209 challenge_response(challenge, password_hash, response)) in generate_nt_response_pwhash() 231 const u8 *nt_response, u8 *response) in generate_authenticator_response_pwhash() argument 257 addr2[0] = response; in generate_authenticator_response_pwhash() [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_freebsd_cnvnr_ctrs_dbg.c | 41 struct icp_qat_fw_init_admin_resp response; in qat_cnvnr_ctrs_dbg_read() local 95 explicit_bzero(&response, in qat_cnvnr_ctrs_dbg_read() 99 accel_dev, ae, &request, &response) || in qat_cnvnr_ctrs_dbg_read() 100 response.status) { in qat_cnvnr_ctrs_dbg_read() 103 error_type = CNV_ERROR_TYPE_GET(response.latest_error); in qat_cnvnr_ctrs_dbg_read() 107 CNV_ERROR_LENGTH_DELTA_GET(response.latest_error); in qat_cnvnr_ctrs_dbg_read() 111 CNV_ERROR_DECOMP_STATUS_GET(response.latest_error); in qat_cnvnr_ctrs_dbg_read() 114 response.latest_error & ADF_CNVNR_ERR_MASK; in qat_cnvnr_ctrs_dbg_read() 122 response.error_count, in qat_cnvnr_ctrs_dbg_read()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | client.c | 94 const heim_idata *request, heim_idata *response, in mach_ipc() argument 154 response->data = malloc(replyout_length); in mach_ipc() 155 if (response->data == NULL) { in mach_ipc() 160 memcpy(response->data, replyout, replyout_length); in mach_ipc() 161 response->length = replyout_length; in mach_ipc() 165 response->data = malloc(replyin_length); in mach_ipc() 166 if (response->data == NULL) in mach_ipc() 168 memcpy(response->data, replyin, replyin_length); in mach_ipc() 169 response->length = replyin_length; in mach_ipc() 193 heim_idata response; in mheim_ado_acall_reply() local [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_frontend_iscsi.c | 353 cfiscsi_pdu_prepare(struct icl_pdu *response) in cfiscsi_pdu_prepare() argument 360 cs = PDU_SESSION(response); in cfiscsi_pdu_prepare() 368 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in cfiscsi_pdu_prepare() 412 cfiscsi_pdu_queue(struct icl_pdu *response) in cfiscsi_pdu_queue() argument 416 cs = PDU_SESSION(response); in cfiscsi_pdu_queue() 419 cfiscsi_pdu_prepare(response); in cfiscsi_pdu_queue() 420 icl_pdu_queue(response); in cfiscsi_pdu_queue() 425 cfiscsi_pdu_queue_cb(struct icl_pdu *response, icl_pdu_cb cb) in cfiscsi_pdu_queue_cb() argument 427 struct cfiscsi_session *cs = PDU_SESSION(response); in cfiscsi_pdu_queue_cb() 430 cfiscsi_pdu_prepare(response); in cfiscsi_pdu_queue_cb() [all …]
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 91 __u64 response; member 102 __u64 response; member 112 __u64 response; member 153 __u64 response; member 238 __u64 response; member 249 __u64 response; /* rdma_ucm_create_id_resp */ member 263 __u64 response; /* rdma_ucma_create_id_resp */ member 272 __u64 response; member 313 __u64 response; member
|
/freebsd/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | iter_cred.c | 46 krb5_storage *request, *response; in _gss_ntlm_iter_creds_f() local 57 ret = krb5_kcm_call(context, request, &response, &response_data); in _gss_ntlm_iter_creds_f() 67 ret = krb5_ret_uint32(response, &morep); in _gss_ntlm_iter_creds_f() 72 ret = krb5_ret_stringz(response, &user); in _gss_ntlm_iter_creds_f() 74 ret = krb5_ret_stringz(response, &domain); in _gss_ntlm_iter_creds_f() 92 krb5_storage_free(response); in _gss_ntlm_iter_creds_f()
|
/freebsd/crypto/heimdal/kcm/ |
H A D | protocol.c | 58 krb5_storage *response) in kcm_op_noop() argument 77 krb5_storage *response) in kcm_op_get_name() argument 97 ret = krb5_store_stringz(response, ccache->name); in kcm_op_get_name() 120 krb5_storage *response) in kcm_op_gen_new() argument 132 ret = krb5_store_stringz(response, name); in kcm_op_gen_new() 151 krb5_storage *response) in kcm_op_initialize() argument 217 krb5_storage *response) in kcm_op_destroy() argument 250 krb5_storage *response) in kcm_op_store() argument 308 krb5_storage *response) in kcm_op_retrieve() argument 374 ret = krb5_store_creds(response, credp); in kcm_op_retrieve() [all …]
|