Searched refs:resp (Results 251 - 275 of 500) sorted by relevance

<<11121314151617181920

/freebsd-current/sys/netgraph/
H A Dng_device.c236 struct ng_mesg *resp = NULL; local
246 NG_MKRESPONSE(resp, msg,
249 if (resp == NULL)
253 strlcpy((char *)resp->data, dn, strlen(dn) + 1);
271 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_tty.c250 struct ng_mesg *msg, *resp = NULL; local
285 NG_MKRESPONSE(resp, msg, sizeof(int), M_NOWAIT);
286 if (!resp)
289 *((int *) resp->data) = sc->hotchar;
299 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_bridge.c530 struct ng_mesg *resp = NULL; local
542 NG_MKRESPONSE(resp, msg,
544 if (resp == NULL) {
548 conf = (struct ng_bridge_config *)resp->data;
606 NG_MKRESPONSE(resp, msg,
608 if (resp == NULL) {
612 rs = (struct ng_bridge_link_stats *)resp->data;
640 NG_MKRESPONSE(resp, msg, sizeof(*ary)
642 if (resp == NULL) {
646 ary = (struct ng_bridge_host_ary *)resp
[all...]
H A Dng_pipe.c299 struct ng_mesg *resp = NULL; local
315 NG_MKRESPONSE(resp, msg,
317 if (resp == NULL) {
321 stats = (struct ng_pipe_stats *) resp->data;
335 NG_MKRESPONSE(resp, msg, sizeof(*run), M_NOWAIT);
336 if (resp == NULL) {
340 run = (struct ng_pipe_run *) resp->data;
347 NG_MKRESPONSE(resp, msg, sizeof(*cfg), M_NOWAIT);
348 if (resp == NULL) {
352 cfg = (struct ng_pipe_cfg *) resp
[all...]
H A Dng_l2tp.c455 struct ng_mesg *resp = NULL; local
499 NG_MKRESPONSE(resp, msg, sizeof(*conf), M_NOWAIT);
500 if (resp == NULL) {
504 conf = (struct ng_l2tp_config *)resp->data;
552 NG_MKRESPONSE(resp, msg, sizeof(hpriv->conf), M_NOWAIT);
553 if (resp == NULL) {
557 conf = (struct ng_l2tp_sess_config *)resp->data;
566 NG_MKRESPONSE(resp, msg,
568 if (resp == NULL) {
572 memcpy(resp
[all...]
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dqmi_wlfw_v01.c539 resp),
668 resp),
816 resp),
834 resp),
1090 resp),
1144 resp),
1283 resp),
1341 resp),
1476 resp),
1513 resp),
[all...]
/freebsd-current/sys/dev/hyperv/input/
H A Dhv_kbdc.c257 const hv_kbd_proto_resp *resp = local
274 DEBUG_HVSC(sc, "keyboard resp: 0x%x\n",
275 resp->status);
346 const hv_kbd_proto_resp *resp; local
368 resp = vmbus_chan_xact_wait(sc->hs_chan, xact, &resplen, true);
375 if (!(resp->status & HV_KBD_PROTO_ACCEPTED)) {
/freebsd-current/contrib/telnet/libtelnet/
H A Dsra.c479 auth_conv(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata) argument
493 reply[i].resp = COPY_STRING(cred->uname);
494 /* PAM frees resp. */
498 reply[i].resp = COPY_STRING(cred->pass);
499 /* PAM frees resp. */
504 reply[i].resp = NULL;
512 *resp = reply;
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dgas_query.c51 struct wpabuf *resp; member in struct:gas_query_pending
56 const struct wpabuf *resp, u16 status_code);
150 wpabuf_free(query->resp);
172 query->adv_proto, query->resp, query->status_code);
212 if (wpabuf_resize(&query->resp, len) < 0) {
216 wpabuf_put_data(query->resp, data, len);
405 const u8 *adv_proto, const u8 *resp,
426 if (gas_query_append(query, resp, len) < 0) {
437 const u8 *adv_proto, const u8 *resp,
483 if (gas_query_append(query, resp, le
403 gas_query_rx_initial(struct gas_query *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u16 comeback_delay) argument
435 gas_query_rx_comeback(struct gas_query *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u8 frag_id, u8 more_frags, u16 comeback_delay) argument
822 gas_query_req(struct gas_query *gas, const u8 *dst, int freq, int wildcard_bssid, int maintain_addr, struct wpabuf *req, void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, enum gas_query_result result, const struct wpabuf *adv_proto, const struct wpabuf *resp, u16 status_code), void *ctx) argument
[all...]
H A Dsme.c336 struct wpabuf *resp = NULL; local
760 resp = sme_auth_build_sae_commit(wpa_s, ssid,
765 resp = sme_auth_build_sae_confirm(wpa_s, 0);
766 if (resp == NULL) {
770 params.auth_data = wpabuf_head(resp);
771 params.auth_data_len = wpabuf_len(resp);
846 resp = fils_build_auth(wpa_s->wpa, ssid->fils_dh_group, md);
847 if (resp) {
860 params.auth_data = wpabuf_head(resp);
861 params.auth_data_len = wpabuf_len(resp);
1045 struct ieee80211_mgmt *resp; local
1070 struct wpabuf *resp, *buf; local
1149 struct wpabuf *resp, *buf; local
2826 u8 resp[2 + WLAN_SA_QUERY_TR_ID_LEN + OCV_OCI_EXTENDED_LEN]; local
[all...]
/freebsd-current/sys/dev/bnxt/bnxt_en/
H A Dbnxt_dcb.c87 struct hwrm_queue_pri2cos_qcfg_output *resp = local
97 uint8_t *pri2cos = &resp->pri0_cos_queue_id;
161 struct hwrm_queue_cos2bw_qcfg_output *resp = local
175 data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id);
181 cos2bw.queue_id = resp->queue_id0;
297 struct hwrm_queue_pfcenable_qcfg_output *resp = local
310 pri_mask = le32toh(resp->flags);
454 struct hwrm_queue_dscp_qcaps_output *resp = local
467 softc->max_dscp_value = (1 << resp->num_dscp_bits) - 1;
478 struct hwrm_queue_dscp2pri_qcfg_output *resp local
[all...]
/freebsd-current/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c491 OCSPResponse *resp; local
527 resp = d2i_OCSPResponse(NULL, &resp_data, resp_len);
528 if (!resp) {
533 status = ASN1_ENUMERATED_get(resp->responseStatus);
540 bytes = resp->responseBytes;
558 OCSPResponse_free(resp);
841 OCSPResponse_free(resp);
H A Dtls_gnutls.c700 gnutls_datum_t *resp)
721 resp->data = gnutls_malloc(len);
722 if (!resp->data) {
723 os_free(resp);
727 os_memcpy(resp->data, cached, len);
728 resp->size = len;
995 gnutls_ocsp_resp_t resp; local
1031 if (gnutls_ocsp_resp_init(&resp) != GNUTLS_E_SUCCESS)
1034 res = gnutls_ocsp_resp_import(resp, &response);
1039 gnutls_ocsp_resp_deinit(resp);
699 server_ocsp_status_req(gnutls_session_t session, void *ptr, gnutls_datum_t *resp) argument
[all...]
/freebsd-current/crypto/heimdal/appl/rcp/
H A Drcp.c649 char ch, *cp, resp, rbuf[BUFSIZ]; local
651 if (read(remin, &resp, sizeof(resp)) != sizeof(resp))
655 switch(resp) {
659 *cp++ = resp;
672 if (resp == 1)
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_sa_informinfo.c226 memcpy(&item->resp.inform,
295 memcpy(&p_rec_item->resp.inform_rec, &p_infr->inform_record,
305 ib_inform_info_set_qpn(&p_rec_item->resp.inform_rec.inform_info, 0);
389 memset(item->resp.inform_rec.reserved, 0, sizeof(item->resp.inform_rec.reserved));
390 memset(item->resp.inform_rec.pad, 0, sizeof(item->resp.inform_rec.pad));
H A Dosm_sa_portinfo_record.c103 p_rec_item->resp.port_rec.lid = lid;
104 p_rec_item->resp.port_rec.port_info = p_physp->port_info;
106 p_rec_item->resp.port_rec.options = p_ctxt->p_rcvd_rec->options;
119 p_pi = &p_rec_item->resp.port_rec.port_info;
131 p_rec_item->resp.port_rec.port_num = osm_physp_get_port_num(p_physp);
601 item->resp.port_rec.port_info.m_key = 0;
/freebsd-current/usr.sbin/ppp/
H A Dnetgraph.c462 struct ng_mesg *resp; local
590 resp = (struct ng_mesg *)rbuf;
591 if (NgRecvMsg(dev->cs, resp, sizeof rbuf, NULL) <= 0) {
597 hlist = (const struct hooklist *)resp->data;
659 resp = (struct ng_mesg *)rbuf;
660 if (NgRecvMsg(dev->cs, resp, sizeof rbuf, NULL) <= 0) {
666 hlist = (const struct hooklist *)resp->data;
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.h481 struct bnxt_re_uctx_resp *resp)
483 resp->comp_mask |= BNXT_RE_COMP_MASK_UCNTX_POW2_DISABLED;
485 resp->comp_mask &= ~BNXT_RE_COMP_MASK_UCNTX_POW2_DISABLED;
498 struct bnxt_re_uctx_resp *resp,
501 resp->comp_mask |= BNXT_RE_COMP_MASK_UCNTX_RSVD_WQE_DISABLED;
503 resp->comp_mask &= ~BNXT_RE_COMP_MASK_UCNTX_RSVD_WQE_DISABLED;
506 resp->comp_mask &= ~BNXT_RE_COMP_MASK_UCNTX_RSVD_WQE_DISABLED;
480 bnxt_re_init_pow2_flag(struct bnxt_re_uctx_req *req, struct bnxt_re_uctx_resp *resp) argument
497 bnxt_re_init_rsvd_wqe_flag(struct bnxt_re_uctx_req *req, struct bnxt_re_uctx_resp *resp, bool genp5) argument
H A Dqplib_fp.c615 struct creq_destroy_srq_resp resp = {}; local
622 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, NULL, sizeof(req),
623 sizeof(resp), 0);
646 struct creq_create_srq_resp resp = {}; local
675 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, NULL, sizeof(req),
676 sizeof(resp), 0);
693 srq->id = le32_to_cpu(resp.xid);
739 struct creq_query_srq_resp resp = {}; local
755 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, &sbuf, sizeof(req),
756 sizeof(resp),
824 struct creq_destroy_qp_resp resp = {}; local
909 struct creq_create_qp1_resp resp = {}; local
1062 struct creq_create_qp_resp resp = {}; local
1370 struct creq_modify_qp_resp resp = {}; local
1502 struct creq_query_qp_resp resp = {}; local
2385 struct creq_create_cq_resp resp = {}; local
2489 struct creq_resize_cq_resp resp = {}; local
2583 struct creq_destroy_cq_resp resp = {}; local
[all...]
H A Dqplib_rcfw.c338 crsqe->resp = (struct creq_qp_event *)msg->resp;
339 crsqe->resp->cookie = cpu_to_le16(cookie);
557 event = (struct creq_qp_event *)msg->resp;
771 if (crsqe->resp)
772 memcpy(crsqe->resp, event, sizeof(*event));
782 crsqe->resp = NULL;
911 struct creq_deinitialize_fw_resp resp = {}; local
918 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, NULL,
919 sizeof(req), sizeof(resp),
929 struct creq_initialize_fw_resp resp = {}; local
[all...]
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c818 struct wpabuf *resp; local
820 resp = eap_tls_msg_alloc(eap_type, 1, EAP_CODE_RESPONSE, id);
821 if (resp == NULL)
825 wpabuf_put_u8(resp, peap_version); /* Flags */
826 return resp;
1182 * @resp: Buffer for returning the EAP-Nak message
1186 struct eap_hdr *hdr, struct wpabuf **resp)
1195 *resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, num_types,
1197 if (*resp == NULL)
1203 wpabuf_put_u8(*resp, type
1185 eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types, struct eap_hdr *hdr, struct wpabuf **resp) argument
[all...]
/freebsd-current/lib/libradius/
H A Dradlib.c130 insert_request_authenticator(struct rad_handle *h, int resp) argument
140 if (resp)
150 insert_message_authenticator(struct rad_handle *h, int resp) argument
163 if (resp)
192 u_char resp[MSGSIZE], md[EVP_MAX_MD_SIZE]; local
229 memcpy(resp, h->in, MSGSIZE);
245 memset(&resp[pos + 2], 0, MD5_DIGEST_LENGTH);
253 HMAC_Update(hctx, &resp[POS_ATTRS],
290 u_char resp[MSGSIZE], md[EVP_MAX_MD_SIZE]; local
336 memcpy(resp,
[all...]
/freebsd-current/sys/dev/mana/
H A Dgdma.h178 struct gdma_msg_hdr resp; /* The expected response */ member in struct:gdma_req_hdr
212 hdr->resp.hdr_type = GDMA_STANDARD_HEADER_TYPE;
213 hdr->resp.msg_type = code;
214 hdr->resp.msg_version = GDMA_MESSAGE_V1;
215 hdr->resp.msg_size = resp_size;
867 const void *req, uint32_t resp_len, void *resp);
/freebsd-current/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api_custom_obj.cpp358 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; local
360 resp = ((CustomDecoderWrapper *)lib_context)->m_pPktIn->PacketDataIn(op, index_sop, pkt);
361 return resp;
/freebsd-current/sys/dev/qat/include/common/
H A Dadf_common_drv.h147 struct icp_qat_fw_init_admin_resp *resp,
195 void qat_alg_callback(void *resp);
196 void qat_alg_asym_callback(void *resp);

Completed in 195 milliseconds

<<11121314151617181920