Searched refs:resp (Results 51 - 75 of 263) sorted by relevance

1234567891011

/freebsd-9.3-release/sys/powerpc/powermac/
H A Dpmu.c323 uint8_t resp[16]; local
363 pmu_send(sc, PMU_SET_IMASK, 1, &reg, 16, resp);
367 pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp);
368 pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp);
663 uint8_t resp[16]; local
672 len = pmu_send(sc, PMU_INT_ACK, 0, NULL, 16, resp);
676 if ((len < 1) || (resp[1] == 0)) {
680 if (resp[1] & PMU_INT_ADB) {
689 if ((resp[2] & 0x0f) != (ADB_COMMAND_TALK << 2)) {
701 adb_receive_raw_packet(sc->adb_bus,resp[
726 uint8_t packet[16], resp[16]; local
754 uint8_t resp[16]; local
810 uint8_t resp[3]; local
848 uint8_t resp[16]; local
992 uint8_t resp[16]; local
[all...]
/freebsd-9.3-release/sys/rpc/
H A Dclnt.h238 * CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, timeout)
245 * void *resp;
248 #define CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, secs) \
250 argsp, xres, resp, secs)
255 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout)
261 * void *resp;
265 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
267 argsp, xres, resp, secs)
268 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
270 argsp, xres, resp, sec
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dwork_fork.c301 blocking_pipe_header * resp
309 octets = resp->octets;
310 rc = write(c->resp_write_pipe, resp, octets);
311 free(resp);
332 blocking_pipe_header * resp; local
338 resp = NULL;
354 resp = emalloc(hdr.octets);
355 memcpy(resp, &hdr, sizeof(*resp));
358 (char *)resp
[all...]
/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_leap.c69 struct wpabuf *resp; local
114 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP,
117 if (resp == NULL)
119 wpabuf_put_u8(resp, LEAP_VERSION);
120 wpabuf_put_u8(resp, 0); /* unused */
121 wpabuf_put_u8(resp, LEAP_RESPONSE_LEN);
122 rpos = wpabuf_put(resp, LEAP_RESPONSE_LEN);
130 wpabuf_put_data(resp, identity, identity_len);
134 return resp;
143 struct wpabuf *resp; local
[all...]
H A Deap_mschapv2.c156 struct wpabuf *resp; local
173 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len,
175 if (resp == NULL)
178 ms = wpabuf_put(resp, sizeof(*ms));
192 wpabuf_put_u8(resp, sizeof(*r)); /* Value-Size */
195 r = wpabuf_put(resp, sizeof(*r));
203 wpabuf_free(resp);
218 wpabuf_free(resp);
226 wpabuf_put_data(resp, identity, identity_len);
229 return resp;
348 struct wpabuf *resp; local
505 struct wpabuf *resp; local
636 struct wpabuf *resp; local
[all...]
H A Deap_peap.c453 * @resp: Buffer to return a pointer to the allocated response message. This
462 const struct wpabuf *req, struct wpabuf **resp,
506 *resp = eap_tlv_build_nak(eap_get_id(req),
508 return *resp == NULL ? -1 : 0;
576 *resp = eap_tlv_build_result(sm, data, crypto_tlv != NULL,
615 struct wpabuf **resp)
632 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1);
636 if (eap_tlv_process(sm, data, &iret, req, resp,
665 *resp = eap_msg_alloc(
670 if (*resp
460 eap_tlv_process(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, const struct wpabuf *req, struct wpabuf **resp, int force_failure) argument
611 eap_peap_phase2_request(struct eap_sm *sm, struct eap_peap_data *data, struct eap_method_ret *ret, struct wpabuf *req, struct wpabuf **resp) argument
765 struct wpabuf *resp = NULL; local
1038 struct wpabuf *resp; local
[all...]
H A Deap_vendor_test.c75 struct wpabuf *resp; local
125 resp = eap_msg_alloc(EAP_VENDOR_ID, EAP_VENDOR_TYPE, 1,
127 if (resp == NULL)
131 wpabuf_put_u8(resp, 2);
136 wpabuf_put_u8(resp, 4);
142 return resp;
H A Deap_tls.c85 struct wpabuf *resp, u8 id)
106 if (resp) {
111 return resp;
149 struct wpabuf *resp; local
166 resp = NULL;
168 pos, left, &resp);
171 return eap_tls_failure(sm, data, ret, res, resp, id);
178 wpabuf_free(resp);
182 return resp;
82 eap_tls_failure(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret, int res, struct wpabuf *resp, u8 id) argument
H A Deap_ttls.c224 static int eap_ttls_avp_encapsulate(struct wpabuf **resp, u32 avp_code, argument
230 msg = wpabuf_alloc(sizeof(struct ttls_avp) + wpabuf_len(*resp) + 4);
232 wpabuf_free(*resp);
233 *resp = NULL;
238 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp));
239 os_memcpy(pos, wpabuf_head(*resp), wpabuf_len(*resp));
240 pos += wpabuf_len(*resp);
242 wpabuf_free(*resp);
244 *resp
476 eap_ttls_phase2_eap_process(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, size_t len, struct wpabuf **resp) argument
503 eap_ttls_phase2_request_eap_method(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, size_t len, u8 method, struct wpabuf **resp) argument
575 eap_ttls_phase2_request_eap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
638 eap_ttls_phase2_request_mschapv2(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
728 eap_ttls_phase2_request_mschap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
817 eap_ttls_phase2_request_pap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
878 eap_ttls_phase2_request_chap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct wpabuf **resp) argument
961 eap_ttls_phase2_request(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
1246 eap_ttls_encrypt_response(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *resp, u8 identifier, struct wpabuf **out_data) argument
1269 eap_ttls_process_phase2_eap(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct ttls_parse_avp *parse, struct wpabuf **resp) argument
1392 eap_ttls_process_tnc_start(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct ttls_parse_avp *parse, struct wpabuf **resp) argument
1431 struct wpabuf *resp = NULL; local
1522 struct wpabuf *resp; local
1800 struct wpabuf *resp; local
[all...]
H A Deap_fast.c406 struct wpabuf **resp)
422 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1);
442 hdr, resp))
458 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret,
460 if (*resp == NULL ||
472 if (*resp == NULL && config &&
477 } else if (*resp == NULL)
549 struct wpabuf *resp = NULL; local
571 if (eap_fast_phase2_request(sm, data, ret, hdr, &resp)) {
577 return eap_fast_tlv_eap_payload(resp);
402 eap_fast_phase2_request(struct eap_sm *sm, struct eap_fast_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, struct wpabuf **resp) argument
743 struct wpabuf *resp; local
1051 eap_fast_parse_decrypted(struct wpabuf *decrypted, struct eap_fast_tlv_parse *tlv, struct wpabuf **resp) argument
1100 eap_fast_encrypt_response(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *resp, u8 identifier, struct wpabuf **out_data) argument
1147 struct wpabuf *resp = NULL, *tmp; local
1496 struct wpabuf *resp; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/spnego/
H A Dinit_sec_context.c392 NegTokenResp resp; local
423 len, &resp, NULL);
429 if (resp.negResult == NULL
430 || *(resp.negResult) == reject
431 /* || resp.supportedMech == NULL */
434 free_NegTokenResp(&resp);
445 if (resp.supportedMech) {
448 free_NegTokenResp(&resp);
454 resp.supportedMech,
462 free_NegTokenResp(&resp);
[all...]
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dpcsc_funcs.c707 unsigned char resp[3]; local
734 len = sizeof(resp);
735 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
743 wpa_printf(MSG_WARNING, "SCARD: unexpected resp len "
748 if (resp[0] == 0x98 && resp[1] == 0x04) {
755 if (resp[0] == 0x6e) {
760 if (resp[0] != 0x6c && resp[0] != 0x9f && resp[
919 unsigned char resp[3]; local
1047 unsigned char resp[3], buf[12 + 3 + 2]; local
1147 unsigned char resp[3], buf[64], *pos, *end; local
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dieee802_11.c255 u16 auth_alg, u16 auth_transaction, u16 resp,
276 reply->u.auth.status_code = host_to_le16(resp);
282 " auth_alg=%d auth_transaction=%d resp=%d (IE len=%lu)",
284 resp, (unsigned long) ies_len);
322 u16 resp = WLAN_STATUS_SUCCESS; local
356 resp = WLAN_REASON_MICHAEL_MIC_FAILURE;
372 resp = WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG;
380 resp = WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION;
387 resp = WLAN_STATUS_UNSPECIFIED_FAILURE;
397 resp
253 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument
617 u16 resp; local
875 u16 resp = WLAN_STATUS_SUCCESS; local
1183 struct ieee80211_mgmt resp; local
1359 struct ieee80211_mgmt *resp; local
[all...]
H A Dbeacon.c199 struct ieee80211_mgmt *resp; local
274 resp = os_zalloc(buflen);
275 if (resp == NULL)
277 epos = ((u8 *) resp) + MAX_PROBERESP_LEN;
279 resp->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
281 os_memcpy(resp->da, mgmt->sa, ETH_ALEN);
282 os_memcpy(resp->sa, hapd->own_addr, ETH_ALEN);
284 os_memcpy(resp->bssid, hapd->own_addr, ETH_ALEN);
285 resp->u.probe_resp.beacon_int =
289 resp
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/auth/pam/
H A Dpam.c217 struct pam_response *resp; local
246 ret = conv->conv(1, &pmsg, &resp, conv->appdata_ptr);
250 ret = verify_pass(pamh, name, inst, resp->resp);
253 memset(resp->resp, 0, strlen(resp->resp)); /* Erase password! */
254 free(resp->resp);
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Ducm.c94 struct ib_ucm_event_resp resp; member in struct:ib_ucm_event
168 if (ib_ucm_new_cm_id(uevent->resp.event))
267 ib_ucm_event_req_get(&uvt->resp.u.req_resp,
270 uvt->resp.present = IB_UCM_PRES_PRIMARY;
271 uvt->resp.present |= (evt->param.req_rcvd.alternate_path ?
275 ib_ucm_event_rep_get(&uvt->resp.u.rep_resp,
281 uvt->resp.u.send_status = evt->param.send_status;
285 uvt->resp.u.send_status = evt->param.send_status;
289 uvt->resp.u.send_status = evt->param.send_status;
292 uvt->resp
486 struct ib_ucm_create_id_resp resp; local
533 struct ib_ucm_destroy_id_resp resp; local
577 struct ib_ucm_attr_id_resp resp; local
609 struct ib_uverbs_qp_attr resp; local
[all...]
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_findzonecut.c279 u_char *resp = NULL; local
294 resp = malloc(NS_MAXMSG);
295 if (resp == NULL)
305 n = do_query(statp, dname, class, ns_t_soa, resp, &msg);
376 if (ns_name_uncompress(resp, ns_msg_end(msg), rdata,
387 free(resp);
408 if (resp != NULL)
409 free(resp);
417 u_char *resp; local
421 resp
449 u_char *resp; local
675 do_query(res_state statp, const char *dname, ns_class class, ns_type qtype, u_char *resp, ns_msg *msg) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dspnego.c409 const NegTokenResp * resp,
426 resp, &buf_len);
478 NegTokenResp resp; local
481 resp.negState = malloc(sizeof(*resp.negState));
482 if (resp.negState == NULL) {
486 *(resp.negState) = reject;
488 resp.supportedMech = NULL;
489 resp.responseToken = NULL;
490 resp
408 code_NegTokenArg(OM_uint32 * minor_status, const NegTokenResp * resp, unsigned char **outbuf, size_t * outbuf_size) argument
508 NegTokenResp resp; local
1643 NegTokenResp resp; local
[all...]
/freebsd-9.3-release/sys/netgraph/atm/ccatm/
H A Dng_ccatm.c392 struct ng_mesg **resp)
407 NG_MKRESPONSE(*resp, msg, len, M_NOWAIT);
408 if (*resp == NULL) {
413 list = (struct ngm_ccatm_get_addresses *)(*resp)->data;
487 struct ng_mesg *resp = NULL; local
545 NG_MKRESPONSE(resp, msg, sizeof(uint32_t),
547 if (resp == NULL) {
551 *(uint32_t *)resp->data = state;
566 &resp);
620 NG_MKRESPONSE(resp, ms
391 ng_ccatm_get_addresses(node_p node, uint32_t portno, struct ng_mesg *msg, struct ng_mesg **resp) argument
1033 struct atm_resp resp; member in struct:__anon9643
1034 } resp; local
[all...]
/freebsd-9.3-release/sys/netgraph/atm/sscfu/
H A Dng_sscfu.c218 struct ng_mesg *resp = NULL; local
230 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT);
231 if (resp == NULL) {
235 resp->header.arglen = text_status(node, priv,
236 (char *)resp->data, resp->header.arglen) + 1;
256 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT);
257 if (resp == NULL) {
261 p = (struct ng_sscfu_getdefparam *)resp->data;
296 NG_MKRESPONSE(resp, ms
[all...]
/freebsd-9.3-release/contrib/ofed/libibverbs/include/infiniband/
H A Ddriver.h61 size_t cmd_size, struct ibv_get_context_resp *resp,
76 struct ibv_alloc_pd_resp *resp, size_t resp_size);
83 struct ibv_reg_mr_resp *resp, size_t resp_size);
89 struct ibv_create_cq_resp *resp, size_t resp_size);
95 struct ibv_resize_cq_resp *resp, size_t resp_size);
101 struct ibv_create_srq_resp *resp, size_t resp_size);
106 struct ibv_create_srq_resp *resp, size_t resp_size);
119 struct ibv_create_qp_resp *resp, size_t resp_size);
144 struct ibv_open_xrc_domain_resp *resp,
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dhttp_server.c138 void http_request_send(struct http_request *req, struct wpabuf *resp) argument
143 (unsigned long) wpabuf_len(resp),
147 res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0);
151 } else if ((size_t) res < wpabuf_len(resp)) {
153 res, (unsigned long) wpabuf_len(resp));
157 wpabuf_free(resp);
162 struct wpabuf *resp)
164 http_request_send(req, resp);
161 http_request_send_and_deinit(struct http_request *req, struct wpabuf *resp) argument
/freebsd-9.3-release/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c384 struct snmp_pdu req, resp; local
395 if (snmp_dialog(&req, &resp) == -1) {
400 if (snmp_parse_resp(&resp, &req) >= 0) {
401 snmp_output_resp(snmptoolctx, &resp);
405 snmp_output_err_resp(snmptoolctx, &resp);
415 &(resp.bindings[resp.error_index - 1]),
416 resp.error_status) <= 0)
420 snmp_pdu_free(&resp);
424 snmp_pdu_free(&resp);
460 struct snmp_pdu req, resp; local
1066 struct snmp_pdu req, resp; local
[all...]
/freebsd-9.3-release/lib/libpam/modules/pam_radius/
H A Dpam_radius.c175 struct pam_response *resp; local
229 if ((retval = conv->conv(num_msgs, msg_ptrs, &resp,
232 if (build_access_request(radh, user, resp[num_msgs-1].resp, nas_id,
235 memset(resp[num_msgs-1].resp, 0, strlen(resp[num_msgs-1].resp));
236 free(resp[num_msgs-1].resp);
[all...]
/freebsd-9.3-release/include/rpc/
H A Dclnt.h151 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout)
157 * void *resp;
160 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
162 argsp, xres, resp, secs))
163 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
165 argsp, xres, resp, secs))
186 * CLNT_FREERES(rh, xres, resp);
189 * void *resp;
191 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
[all...]

Completed in 148 milliseconds

1234567891011