Searched refs:resp_len (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/sys/dev/hyperv/include/
H A Dvmbus_xact.h55 size_t *resp_len);
57 size_t *resp_len);
59 size_t *resp_len);
H A Dvmbus.h181 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.h20 * @resp_len: Variable to be set to the response length
21 * Returns: Response (*resp_len bytes) or %NULL on failure
27 * this. If %NULL is returned, *resp_len can be set to two special values:
28 * 1 = send "FAIL\n" response, 2 = send "OK\n" response. If *resp_len has any
32 char *buf, size_t *resp_len);
38 * @resp_len: Variable to be set to the response length
39 * Returns: Response (*resp_len bytes) or %NULL on failure
44 * freeing the buffer after this. If %NULL is returned, *resp_len can be set to
46 * *resp_len has any other value, no response is sent.
49 char *buf, size_t *resp_len);
[all...]
H A Dgas_query.c524 u16 comeback_delay, resp_len; local
626 resp_len = WPA_GET_LE16(pos);
630 if (resp_len > left) {
636 if (resp_len < left) {
639 left - resp_len, MAC2STR(sa));
643 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len,
646 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len,
H A Dctrl_iface.c7237 size_t resp_len, start, requested_len; local
7261 resp_len = wpabuf_len(resp);
7263 requested_len = resp_len;
7268 if (start > resp_len)
7275 if (start + requested_len > resp_len)
7285 if (start + requested_len == resp_len) {
9915 char *buf, size_t *resp_len)
9947 *resp_len = 1;
10766 *resp_len = reply_len;
11026 char *cmd, size_t *resp_len)
9914 wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, char *buf, size_t *resp_len) argument
11024 wpas_global_ctrl_iface_ifname(struct wpa_global *global, const char *ifname, char *cmd, size_t *resp_len) argument
11048 wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global, char *buf, size_t *resp_len) argument
11136 wpas_global_ctrl_iface_redir_wfd(struct wpa_global *global, char *buf, size_t *resp_len) argument
11151 wpas_global_ctrl_iface_redir(struct wpa_global *global, char *buf, size_t *resp_len) argument
11362 wpa_supplicant_global_ctrl_iface_process(struct wpa_global *global, char *buf, size_t *resp_len) argument
[all...]
H A Dsme.c2475 u8 resp_len = 2 + WLAN_SA_QUERY_TR_ID_LEN; local
2494 if (ocv_insert_extended_oci(&ci, resp + resp_len) < 0)
2497 resp_len += OCV_OCI_EXTENDED_LEN;
2503 resp, resp_len, 0) < 0)
/freebsd-11-stable/contrib/wpa/hs20/client/
H A Dest.c126 size_t pkcs7_len, resp_len; local
154 resp = os_readfile("Cert/est-cacerts.txt", &resp_len);
161 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len);
162 if (pkcs7 && pkcs7_len < resp_len / 2) {
164 (unsigned int) pkcs7_len, (unsigned int) resp_len);
170 pkcs7 = os_malloc(resp_len);
172 os_memcpy(pkcs7, resp, resp_len);
173 pkcs7_len = resp_len;
630 size_t resp_len; local
636 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len);
680 size_t buflen, resp_len, len, pkcs7_len; local
[all...]
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_xact.c283 vmbus_xact_return(struct vmbus_xact *xact, size_t *resp_len) argument
306 *resp_len = xact->x_resp_len;
312 vmbus_xact_wait1(struct vmbus_xact *xact, size_t *resp_len, argument
332 resp = vmbus_xact_return(xact, resp_len);
340 vmbus_xact_wait(struct vmbus_xact *xact, size_t *resp_len) argument
343 return (vmbus_xact_wait1(xact, resp_len, true /* can sleep */));
347 vmbus_xact_busywait(struct vmbus_xact *xact, size_t *resp_len) argument
350 return (vmbus_xact_wait1(xact, resp_len, false /* can't sleep */));
354 vmbus_xact_poll(struct vmbus_xact *xact, size_t *resp_len) argument
365 *resp_len
[all...]
H A Dvmbus.c339 size_t resp_len; local
341 return (vmbus_xact_wait(mh->mh_xact, &resp_len));
347 size_t resp_len; local
349 return (vmbus_xact_poll(mh->mh_xact, &resp_len));
H A Dvmbus_chan.c2147 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep)
2152 ret = vmbus_xact_wait(xact, resp_len);
2154 ret = vmbus_xact_busywait(xact, resp_len);
2146 vmbus_chan_xact_wait(const struct vmbus_channel *chan, struct vmbus_xact *xact, size_t *resp_len, bool can_sleep) argument
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmonitor.c1054 int resp_len; local
1057 resp_len = monitor_expect_prompt (buf, bufmax);
1058 *ext_resp_len = resp_len;
1060 if (resp_len <= 0)
1063 while (resp_len < 0);
1072 for (i = 0; i < resp_len - 1; i++)
1088 int resp_len; local
1108 (*current_monitor->wait_filter) (buf, sizeof (buf), &resp_len, status); local
1110 monitor_wait_filter (buf, sizeof (buf), &resp_len, status);
1115 resp_len
1277 int resp_len; local
1292 int resp_len; local
1811 int resp_len; local
2205 int resp_len; local
[all...]
/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c147 size_t resp_len; local
189 resp_len = sizeof(*resp);
190 resp = hn_nvs_xact_execute(sc, xact, conn, sizeof(*conn), &resp_len,
224 size_t resp_len; local
257 resp_len = sizeof(*resp);
258 resp = hn_nvs_xact_execute(sc, xact, chim, sizeof(*chim), &resp_len,
456 size_t resp_len; local
469 resp_len = sizeof(*resp);
470 resp = hn_nvs_xact_execute(sc, xact, init, sizeof(*init), &resp_len,
684 size_t resp_len; local
[all...]
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dhttp-utils.h56 size_t *resp_len);
H A Dhttp_curl.c1685 size_t *resp_len)
1735 if (resp_len)
1736 *resp_len = ctx->curl_buf_len;
1680 http_post(struct http_ctx *ctx, const char *url, const char *data, const char *content_type, const char *ext_hdr, const char *ca_fname, const char *username, const char *password, const char *client_cert, const char *client_key, size_t *resp_len) argument
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c589 static int sim_req_auth(char *imsi, char *resp, size_t resp_len) argument
608 rend = resp + resp_len;
662 static int gsm_auth_req(char *imsi, char *resp, size_t resp_len) argument
675 rend = resp + resp_len;
734 static int aka_req_auth(char *imsi, char *resp, size_t resp_len) argument
785 end = resp + resp_len;
811 static int aka_auts(char *imsi, char *resp, size_t resp_len) argument
866 static int process_cmd(char *cmd, char *resp, size_t resp_len) argument
869 return sim_req_auth(cmd + 13, resp, resp_len);
872 return gsm_auth_req(cmd + 13, resp, resp_len);
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dgas_query_ap.c471 u16 comeback_delay, resp_len; local
573 resp_len = WPA_GET_LE16(pos);
577 if (resp_len > left) {
583 if (resp_len < left) {
586 left - resp_len, MAC2STR(sa));
590 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len,
593 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len,
H A Dbeacon.c370 int is_p2p, size_t *resp_len)
568 *resp_len = pos - (u8 *) resp;
738 size_t i, resp_len; local
966 &resp_len);
988 ret = hostapd_drv_send_mlme_csa(hapd, resp, resp_len, noack,
1004 size_t *resp_len)
1035 return hostapd_gen_probe_resp(hapd, NULL, 0, resp_len);
1058 size_t resp_len = 0; local
1289 resp = hostapd_probe_resp_offloads(hapd, &resp_len);
1298 params->proberesp_len = resp_len;
368 hostapd_gen_probe_resp(struct hostapd_data *hapd, const struct ieee80211_mgmt *req, int is_p2p, size_t *resp_len) argument
1003 hostapd_probe_resp_offloads(struct hostapd_data *hapd, size_t *resp_len) argument
[all...]
/freebsd-11-stable/sys/dev/bnxt/
H A Dhsi_struct_def.h1825 uint16_t resp_len; member in struct:hwrm_fwd_resp_cmpl
5533 uint16_t resp_len; member in struct:hwrm_ver_get_output
5845 uint16_t resp_len; member in struct:hwrm_func_reset_output
5927 uint16_t resp_len; member in struct:hwrm_func_getfid_output
6018 uint16_t resp_len; member in struct:hwrm_func_vf_alloc_output
6104 uint16_t resp_len; member in struct:hwrm_func_vf_free_output
6219 uint16_t resp_len; member in struct:hwrm_func_vf_cfg_output
6295 uint16_t resp_len; member in struct:hwrm_func_qcaps_output
6554 uint16_t resp_len; member in struct:hwrm_func_qcfg_output
6861 uint16_t resp_len; member in struct:hwrm_func_vlan_qcfg_output
6999 uint16_t resp_len; member in struct:hwrm_func_vlan_cfg_output
7386 uint16_t resp_len; member in struct:hwrm_func_cfg_output
7462 uint16_t resp_len; member in struct:hwrm_func_qstats_output
7595 uint16_t resp_len; member in struct:hwrm_func_clr_stats_output
7665 uint16_t resp_len; member in struct:hwrm_func_vf_resc_free_output
7740 uint16_t resp_len; member in struct:hwrm_func_vf_vnic_ids_query_output
7894 uint16_t resp_len; member in struct:hwrm_func_drv_rgtr_output
7969 uint16_t resp_len; member in struct:hwrm_func_drv_unrgtr_output
8100 uint16_t resp_len; member in struct:hwrm_func_buf_rgtr_output
8180 uint16_t resp_len; member in struct:hwrm_func_buf_unrgtr_output
8256 uint16_t resp_len; member in struct:hwrm_func_drv_qver_output
8725 uint16_t resp_len; member in struct:hwrm_port_phy_cfg_output
8792 uint16_t resp_len; member in struct:hwrm_port_phy_qcfg_output
9744 uint16_t resp_len; member in struct:hwrm_port_mac_cfg_output
9837 uint16_t resp_len; member in struct:hwrm_port_mac_qcfg_output
10074 uint16_t resp_len; member in struct:hwrm_port_mac_ptp_qcfg_output
10195 uint16_t resp_len; member in struct:hwrm_port_qstats_output
10262 uint16_t resp_len; member in struct:hwrm_port_lpbk_qstats_output
10354 uint16_t resp_len; member in struct:hwrm_port_clr_stats_output
10423 uint16_t resp_len; member in struct:hwrm_port_lpbk_clr_stats_output
10505 uint16_t resp_len; member in struct:hwrm_port_ts_query_output
10580 uint16_t resp_len; member in struct:hwrm_port_phy_qcaps_output
11040 uint16_t resp_len; member in struct:hwrm_port_led_cfg_output
11113 uint16_t resp_len; member in struct:hwrm_port_led_qcfg_output
11399 uint16_t resp_len; member in struct:hwrm_port_led_qcaps_output
11720 uint16_t resp_len; member in struct:hwrm_queue_qportcfg_output
11996 uint16_t resp_len; member in struct:hwrm_queue_qcfg_output
12111 uint16_t resp_len; member in struct:hwrm_queue_cfg_output
12186 uint16_t resp_len; member in struct:hwrm_queue_pfcenable_qcfg_output
12294 uint16_t resp_len; member in struct:hwrm_queue_pfcenable_cfg_output
12389 uint16_t resp_len; member in struct:hwrm_queue_pri2cos_qcfg_output
12626 uint16_t resp_len; member in struct:hwrm_queue_pri2cos_cfg_output
12743 uint16_t resp_len; member in struct:hwrm_queue_cos2bw_qcfg_output
14284 uint16_t resp_len; member in struct:hwrm_queue_cos2bw_cfg_output
14358 uint16_t resp_len; member in struct:hwrm_queue_dscp_qcaps_output
14445 uint16_t resp_len; member in struct:hwrm_queue_dscp2pri_qcfg_output
14551 uint16_t resp_len; member in struct:hwrm_queue_dscp2pri_cfg_output
14637 uint16_t resp_len; member in struct:hwrm_vnic_alloc_output
14709 uint16_t resp_len; member in struct:hwrm_vnic_free_output
14859 uint16_t resp_len; member in struct:hwrm_vnic_cfg_output
14935 uint16_t resp_len; member in struct:hwrm_vnic_qcfg_output
15065 uint16_t resp_len; member in struct:hwrm_vnic_qcaps_output
15276 uint16_t resp_len; member in struct:hwrm_vnic_tpa_cfg_output
15346 uint16_t resp_len; member in struct:hwrm_vnic_tpa_qcfg_output
15544 uint16_t resp_len; member in struct:hwrm_vnic_rss_cfg_output
15611 uint16_t resp_len; member in struct:hwrm_vnic_rss_qcfg_output
15798 uint16_t resp_len; member in struct:hwrm_vnic_plcmodes_cfg_output
15868 uint16_t resp_len; member in struct:hwrm_vnic_plcmodes_qcfg_output
15990 uint16_t resp_len; member in struct:hwrm_vnic_rss_cos_lb_ctx_alloc_output
16060 uint16_t resp_len; member in struct:hwrm_vnic_rss_cos_lb_ctx_free_output
16298 uint16_t resp_len; member in struct:hwrm_ring_alloc_output
16392 uint16_t resp_len; member in struct:hwrm_ring_free_output
16462 uint16_t resp_len; member in struct:hwrm_ring_cmpl_ring_qaggint_params_output
16612 uint16_t resp_len; member in struct:hwrm_ring_cmpl_ring_cfg_aggint_params_output
16694 uint16_t resp_len; member in struct:hwrm_ring_reset_output
16775 uint16_t resp_len; member in struct:hwrm_ring_grp_alloc_output
16854 uint16_t resp_len; member in struct:hwrm_ring_grp_free_output
17170 uint16_t resp_len; member in struct:hwrm_cfa_l2_filter_alloc_output
17252 uint16_t resp_len; member in struct:hwrm_cfa_l2_filter_free_output
17354 uint16_t resp_len; member in struct:hwrm_cfa_l2_filter_cfg_output
17513 uint16_t resp_len; member in struct:hwrm_cfa_l2_set_rx_mask_output
17609 uint16_t resp_len; member in struct:hwrm_cfa_vlan_antispoof_cfg_output
17697 uint16_t resp_len; member in struct:hwrm_cfa_vlan_antispoof_qcfg_output
17866 uint16_t resp_len; member in struct:hwrm_cfa_tunnel_filter_alloc_output
17939 uint16_t resp_len; member in struct:hwrm_cfa_tunnel_filter_free_output
18035 uint16_t resp_len; member in struct:hwrm_cfa_encap_record_alloc_output
18103 uint16_t resp_len; member in struct:hwrm_cfa_encap_record_free_output
18355 uint16_t resp_len; member in struct:hwrm_cfa_ntuple_filter_alloc_output
18443 uint16_t resp_len; member in struct:hwrm_cfa_ntuple_filter_free_output
18545 uint16_t resp_len; member in struct:hwrm_cfa_ntuple_filter_cfg_output
18817 uint16_t resp_len; member in struct:hwrm_cfa_em_flow_alloc_output
18890 uint16_t resp_len; member in struct:hwrm_cfa_em_flow_free_output
18991 uint16_t resp_len; member in struct:hwrm_cfa_em_flow_cfg_output
19196 uint16_t resp_len; member in struct:hwrm_cfa_meter_profile_alloc_output
19289 uint16_t resp_len; member in struct:hwrm_cfa_meter_profile_free_output
19494 uint16_t resp_len; member in struct:hwrm_cfa_meter_profile_cfg_output
19583 uint16_t resp_len; member in struct:hwrm_cfa_meter_instance_alloc_output
19676 uint16_t resp_len; member in struct:hwrm_cfa_meter_instance_free_output
19898 uint16_t resp_len; member in struct:hwrm_cfa_decap_filter_alloc_output
19966 uint16_t resp_len; member in struct:hwrm_cfa_decap_filter_free_output
20134 uint16_t resp_len; member in struct:hwrm_cfa_flow_alloc_output
20204 uint16_t resp_len; member in struct:hwrm_cfa_flow_free_output
20285 uint16_t resp_len; member in struct:hwrm_cfa_flow_info_output
20373 uint16_t resp_len; member in struct:hwrm_cfa_flow_flush_output
20460 uint16_t resp_len; member in struct:hwrm_cfa_flow_stats_output
20571 uint16_t resp_len; member in struct:hwrm_cfa_vf_pair_alloc_output
20637 uint16_t resp_len; member in struct:hwrm_cfa_vf_pair_free_output
20710 uint16_t resp_len; member in struct:hwrm_cfa_vf_pair_info_output
20801 uint16_t resp_len; member in struct:hwrm_cfa_vfr_alloc_output
20870 uint16_t resp_len; member in struct:hwrm_cfa_vfr_free_output
20944 uint16_t resp_len; member in struct:hwrm_tunnel_dst_port_query_output
21050 uint16_t resp_len; member in struct:hwrm_tunnel_dst_port_alloc_output
21136 uint16_t resp_len; member in struct:hwrm_tunnel_dst_port_free_output
21226 uint16_t resp_len; member in struct:hwrm_stat_ctx_alloc_output
21294 uint16_t resp_len; member in struct:hwrm_stat_ctx_free_output
21362 uint16_t resp_len; member in struct:hwrm_stat_ctx_query_output
21469 uint16_t resp_len; member in struct:hwrm_stat_ctx_clr_stats_output
21565 uint16_t resp_len; member in struct:hwrm_fw_reset_output
21657 uint16_t resp_len; member in struct:hwrm_fw_qstatus_output
21762 uint16_t resp_len; member in struct:hwrm_fw_set_time_output
21826 uint16_t resp_len; member in struct:hwrm_fw_get_time_output
21930 uint16_t resp_len; member in struct:hwrm_fw_set_structured_data_output
22047 uint16_t resp_len; member in struct:hwrm_fw_get_structured_data_output
22143 uint16_t resp_len; member in struct:hwrm_fw_ipc_mailbox_output
22243 uint16_t resp_len; member in struct:hwrm_exec_fwd_resp_output
22328 uint16_t resp_len; member in struct:hwrm_reject_fwd_resp_output
22425 uint16_t resp_len; member in struct:hwrm_fwd_resp_output
22508 uint16_t resp_len; member in struct:hwrm_fwd_async_event_cmpl_output
22574 uint16_t resp_len; member in struct:hwrm_temp_monitor_query_output
22712 uint16_t resp_len; member in struct:hwrm_wol_filter_alloc_output
22803 uint16_t resp_len; member in struct:hwrm_wol_filter_free_output
22919 uint16_t resp_len; member in struct:hwrm_wol_filter_qcfg_output
23039 uint16_t resp_len; member in struct:hwrm_wol_reason_qcfg_output
23138 uint16_t resp_len; member in struct:hwrm_dbg_dump_output
23227 uint16_t resp_len; member in struct:hwrm_nvm_raw_write_blk_output
23308 uint16_t resp_len; member in struct:hwrm_nvm_read_output
23381 uint16_t resp_len; member in struct:hwrm_nvm_raw_dump_output
23461 uint16_t resp_len; member in struct:hwrm_nvm_get_dir_entries_output
23525 uint16_t resp_len; member in struct:hwrm_nvm_get_dir_info_output
23647 uint16_t resp_len; member in struct:hwrm_nvm_write_output
23751 uint16_t resp_len; member in struct:hwrm_nvm_modify_output
23840 uint16_t resp_len; member in struct:hwrm_nvm_find_dir_entry_output
23923 uint16_t resp_len; member in struct:hwrm_nvm_erase_dir_entry_output
23990 uint16_t resp_len; member in struct:hwrm_nvm_get_dev_info_output
24089 uint16_t resp_len; member in struct:hwrm_nvm_mod_dir_entry_output
24180 uint16_t resp_len; member in struct:hwrm_nvm_verify_update_output
24286 uint16_t resp_len; member in struct:hwrm_nvm_install_update_output
24401 uint16_t resp_len; member in struct:hwrm_nvm_flush_output
24512 uint16_t resp_len; member in struct:hwrm_nvm_get_variable_output
24650 uint16_t resp_len; member in struct:hwrm_nvm_set_variable_output
24757 uint16_t resp_len; member in struct:hwrm_nvm_validate_option_output
28881 uint16_t resp_len; member in struct:hwrm_selftest_qlist_output
29031 uint16_t resp_len; member in struct:hwrm_selftest_exec_output
29139 uint16_t resp_len; member in struct:hwrm_selftest_irq_output
29222 uint16_t resp_len; member in struct:hwrm_selftest_retreive_serdes_data_output
29291 uint16_t resp_len; member in struct:output
29632 uint16_t resp_len; member in struct:hwrm_err_output
[all...]
H A Dbnxt_hwrm.c176 if (resp->resp_len && resp->resp_len <= 4096)
188 valid = (uint8_t *)resp + resp->resp_len - 1;
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_client_read.c894 u32 resp_len; local
911 resp_len = WPA_GET_BE24(pos);
913 if (end - pos < resp_len) {
916 resp_len);
920 end = pos + resp_len;
923 resp_len = WPA_GET_BE24(pos);
925 if (resp_len > end - pos) {
928 resp_len, (int) (end - pos));
932 if (!resp_len)
935 conn, pos - 3, resp_len
[all...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c490 size_t resp_len; local
519 SSL_get0_ocsp_response(ssl, &resp_data, &resp_len);
520 if (resp_data == NULL || resp_len == 0) {
525 wpa_hexdump(MSG_DEBUG, "OpenSSL: OCSP response", resp_data, resp_len);
527 resp = d2i_OCSPResponse(NULL, &resp_data, resp_len);
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_util.c369 int error, resp_len; local
390 resp_len = iwm_rx_packet_payload_len(pkt);
391 if (resp_len != sizeof(*resp)) {
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dmlx5.c551 size_t resp_len)
554 req_len, &resp->ibv_resp, resp_len))
578 &resp->ibv_resp, resp_len))
584 &resp->ibv_resp, resp_len);
547 mlx5_cmd_get_context(struct mlx5_context *context, struct mlx5_alloc_ucontext *req, size_t req_len, struct mlx5_alloc_ucontext_resp *resp, size_t resp_len) argument
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c644 size_t resp_len; local
647 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length);
648 if (uhw->outlen && uhw->outlen < resp_len)
651 resp.response_length = resp_len;
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_mad.c2078 size_t *resp_len, bool opa)
2099 *resp_len = opa_get_smp_header_size(
2102 *resp_len = sizeof(struct ib_mad_hdr);
2076 generate_unmatched_resp(const struct ib_mad_private *recv, struct ib_mad_private *response, size_t *resp_len, bool opa) argument

Completed in 334 milliseconds

12