/freebsd-12-stable/sys/netgraph/ |
H A D | ng_hole.c | 149 struct ng_mesg *resp = NULL; local 175 NG_MKRESPONSE(resp, msg, sizeof(*stats), 177 if (resp == NULL) { 181 bcopy(stats, resp->data, sizeof(*stats)); 196 NG_RESPOND_MSG(error, node, item, resp);
|
H A D | ng_ether.c | 495 struct ng_mesg *resp = NULL; local 504 NG_MKRESPONSE(resp, msg, IFNAMSIZ, M_NOWAIT); 505 if (resp == NULL) { 509 strlcpy(resp->data, priv->ifp->if_xname, IFNAMSIZ); 512 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); 513 if (resp == NULL) { 517 *((u_int32_t *)resp->data) = priv->ifp->if_index; 520 NG_MKRESPONSE(resp, msg, ETHER_ADDR_LEN, M_NOWAIT); 521 if (resp == NULL) { 526 resp [all...] |
/freebsd-12-stable/sys/contrib/ngatm/netnatm/sig/ |
H A D | sig_coord.c | 422 struct uni_all *resp; local 474 if ((resp = UNI_ALLOC()) == NULL) 478 MK_MSG_RESP(resp, UNI_STATUS, &u->u.hdr.cref); 479 MK_IE_CALLSTATE(resp->u.status.callstate, UNI_CALLSTATE_U0); 480 MK_IE_CAUSE(resp->u.status.cause, UNI_CAUSE_LOC_USER, 485 resp->u.status.epref = u->u.status_enq.epref; 486 MK_IE_EPREF(resp->u.status.epref, 489 MK_IE_EPSTATE(resp->u.status.epstate, UNI_EPSTATE_NULL); 492 (void)uni_send_output(resp, uni); 494 UNI_FREE(resp); 1111 struct uni_all *resp; local 1132 struct uni_all *resp; local [all...] |
H A D | sig_verify.c | 370 struct uni_all *resp; local 372 if ((resp = UNI_ALLOC()) == NULL) 377 MK_MSG_RESP(resp, UNI_STATUS, cref); 378 MK_IE_CALLSTATE(resp->u.status.callstate, cs); 379 resp->u.status.cause = uni->cause; 381 MK_IE_EPREF(resp->u.status.epref, epref->epref, !epref->flag); 382 MK_IE_EPSTATE(resp->u.status.epstate, ps); 385 uni_send_output(resp, uni); 387 UNI_FREE(resp);
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/rpc/ |
H A D | t_rpc.c | 143 int num, resp; local 162 (xdrproc_t)xdr_int, (void *)&resp, tout); 165 DPRINTF("Got %d\n", resp); 168 if (++num != resp) 169 ERRX(EXIT_FAILURE, "expected %d got %d", num, resp); 178 int num, resp; local 213 (xdrproc_t)xdr_int, (void *)&resp, tout); 216 DPRINTF("Got %d\n", resp); 217 if (++num != resp) 218 ERRX(EXIT_FAILURE, "expected %d got %d", num, resp); [all...] |
/freebsd-12-stable/contrib/wpa/src/ap/ |
H A D | ieee802_11.c | 61 struct sta_info *sta, u16 *resp, 301 u16 auth_alg, u16 auth_transaction, u16 resp, 323 reply->u.auth.status_code = host_to_le16(resp); 329 " auth_alg=%d auth_transaction=%d resp=%d (IE len=%lu) (dbg=%s)", 331 resp, (unsigned long) ies_len, dbg); 983 int resp = WLAN_STATUS_SUCCESS; local 999 auth_transaction, resp, pos, end - pos, 1007 auth_transaction, resp, 1017 resp = -1; 1022 resp 299 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, const char *dbg) argument 1431 handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta, const u8 *pos, size_t len, u16 auth_alg, u16 auth_transaction, u16 status_code, void (*cb)(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub)) argument 1438 u16 resp = WLAN_STATUS_SUCCESS; local 1670 prepare_auth_resp_fils(struct hostapd_data *hapd, struct sta_info *sta, u16 *resp, struct rsn_pmksa_cache_entry *pmksa, struct wpabuf *erp_resp, const u8 *msk, size_t msk_len, int *is_pub) argument 1881 handle_auth_fils_finish(struct hostapd_data *hapd, struct sta_info *sta, u16 resp, struct wpabuf *data, int pub) argument 1914 u16 resp; local 2033 u16 resp = WLAN_STATUS_SUCCESS; local 2923 u16 resp; local 3863 u16 resp = WLAN_STATUS_SUCCESS, reply_res; local 4567 struct ieee80211_mgmt *resp; local [all...] |
H A D | gas_query_ap.h | 38 const struct wpabuf *resp, u16 status_code),
|
/freebsd-12-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_multipath_record.c | 940 p_pr_item->resp.mpr_rec.p_src_port = p_src_alias_guid->p_base_port; 941 p_pr_item->resp.mpr_rec.p_dest_port = p_dest_alias_guid->p_base_port; 942 p_pr_item->resp.mpr_rec.hops = path_parms.hops; 946 &p_pr_item->resp.mpr_rec.path_rec); 1210 src_lid_ho, dest_lid_ho, p_pr_item->resp.mpr_rec.hops); 1409 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.slid : 0, 1410 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.dlid : 0, 1411 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.hops : 0, 1412 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.slid : 0, 1413 matrix[0][1] ? matrix[0][1]->resp [all...] |
/freebsd-12-stable/sys/netgraph/atm/sscop/ |
H A D | ng_sscop.c | 446 struct ng_mesg *resp = NULL; local 458 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); 459 if (resp == NULL) { 464 resp->header.arglen = text_status(node, priv, 465 (char *)resp->data, resp->header.arglen) + 1; 490 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT); 491 if (resp == NULL) { 495 p = (struct sscop_param *)resp->data; 514 NG_MKRESPONSE(resp, ms [all...] |
/freebsd-12-stable/sys/netgraph/atm/uni/ |
H A D | ng_uni.c | 310 struct ng_mesg *resp = NULL; local 323 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); 324 if (resp == NULL) { 329 resp->header.arglen = text_status(node, priv, 330 (char *)resp->data, resp->header.arglen) + 1; 360 NG_MKRESPONSE(resp, msg, sizeof(*arg), M_NOWAIT); 361 if(resp == NULL) { 365 arg = (struct ngm_uni_debug *)resp->data; 379 NG_MKRESPONSE(resp, ms [all...] |
/freebsd-12-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_tls.c | 154 struct wpabuf *resp, u8 id) 161 if (resp) { 166 return resp; 238 struct wpabuf *resp; local 250 resp = data->pending_resp; 253 return resp; 282 resp = NULL; 285 id, &msg, &resp); 288 return eap_tls_failure(sm, data, ret, res, resp, id); 295 data->pending_resp = resp; 151 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 [all...] |
/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | work_fork.c | 349 blocking_pipe_header * resp 357 octets = resp->octets; 358 rc = netwrite(c->resp_write_pipe, resp, octets); 359 free(resp); 376 blocking_pipe_header * resp; local 382 resp = NULL; 396 resp = emalloc(hdr.octets); 397 memcpy(resp, &hdr, sizeof(*resp)); 399 rc = netread(c->resp_read_pipe, (char *)(resp [all...] |
H A D | ntp_intres.c | 312 blocking_pipe_header * resp; local 339 resp_octets = sizeof(*resp) + sizeof(*gai_resp) + 343 resp = emalloc_zero(resp_octets); 344 gai_resp = (void *)(resp + 1); 397 resp_octets = sizeof(*resp) + gai_resp->octets; 398 resp = erealloc(resp, resp_octets); 399 gai_resp = (void *)(resp + 1); 448 DEBUG_INSIST((size_t)(cp - (char *)resp) == resp_octets); 450 if (queue_blocking_response(c, resp, resp_octet 701 blocking_pipe_header * resp; local [all...] |
/freebsd-12-stable/contrib/wpa/hs20/client/ |
H A D | est.c | 123 char *buf, *resp; local 154 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); 155 if (resp == NULL) { 161 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); 172 os_memcpy(pkcs7, resp, resp_len); 176 os_free(resp); 631 char *resp; local 636 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); 637 if (resp == NULL) { 642 attrs = base64_decode((unsigned char *) resp, resp_le 679 char *buf, *resp, *req, *req2; local [all...] |
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_svn/ |
H A D | cram.c | 145 svn_string_t *resp; 164 resp = &item->u.string; 165 sep = strrchr(resp->data, ' '); 166 if (!sep || resp->len - (sep + 1 - resp->data) != APR_MD5_DIGESTSIZE * 2 169 *user = apr_pstrmemdup(pool, resp->data, sep - resp->data); 144 svn_string_t *resp; local
|
/freebsd-12-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_ttyconv.c | 321 struct pam_response **resp, 336 aresp[i].resp = NULL; 340 (aresp[i].resp = strdup(respbuf)) == NULL) 345 (aresp[i].resp = strdup(respbuf)) == NULL) 364 *resp = aresp; 369 if (aresp[i].resp != NULL) { 370 strlset(aresp[i].resp, 0, PAM_MAX_RESP_SIZE); 371 FREE(aresp[i].resp); 376 *resp = NULL; 319 openpam_ttyconv(int n, const struct pam_message **msg, struct pam_response **resp, void *data) argument
|
/freebsd-12-stable/contrib/sendmail/contrib/ |
H A D | etrn.pl | 265 (my @resp); 270 push(@resp, $s); 272 return @resp;
|
/freebsd-12-stable/usr.bin/netstat/ |
H A D | netgraph.c | 91 struct ng_mesg *resp = (struct ng_mesg *) rbuf; local 92 struct nodeinfo *ni = (struct nodeinfo *) resp->data; 134 if (NgRecvMsg(csock, resp, sizeof(rbuf), NULL) < 0)
|
/freebsd-12-stable/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 840 struct ng_mesg *msg = NULL, *resp = NULL; local 853 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); 854 if (resp == NULL) 857 snprintf(resp->data, NG_TEXTRESPONSE, 888 NG_MKRESPONSE(resp, msg, sizeof(ng_h4_node_state_ep), 890 if (resp == NULL) 893 *((ng_h4_node_state_ep *)(resp->data)) = 898 NG_MKRESPONSE(resp, msg, sizeof(ng_h4_node_debug_ep), 900 if (resp == NULL) 903 *((ng_h4_node_debug_ep *)(resp [all...] |
/freebsd-12-stable/contrib/wpa/src/common/ |
H A D | wpa_helpers.h | 15 char *resp, size_t resp_size);
|
H A D | gas_server.h | 27 void (*status_cb)(void *ctx, struct wpabuf *resp,
|
/freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
H A D | gas_query.h | 42 const struct wpabuf *resp, u16 status_code),
|
H A D | interworking.h | 20 const struct wpabuf *resp, u16 status_code);
|
/freebsd-12-stable/contrib/opencsd/decoder/include/pkt_printers/ |
H A D | pkt_printer_t.h | 99 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; local 126 resp = OCSD_RESP_WAIT; 143 m_last_resp = resp; 146 return resp;
|
/freebsd-12-stable/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 589 static int sim_req_auth(char *imsi, char *resp, size_t resp_len) argument 597 resp[0] = '\0'; 608 rend = resp + resp_len; 609 rpos = resp; 662 static int gsm_auth_req(char *imsi, char *resp, size_t resp_len) argument 668 resp[0] = '\0'; 675 rend = resp + resp_len; 676 rpos = resp; 734 static int aka_req_auth(char *imsi, char *resp, size_t resp_len) argument 784 pos = resp; 811 aka_auts(char *imsi, char *resp, size_t resp_len) argument 866 process_cmd(char *cmd, char *resp, size_t resp_len) argument 887 char buf[1000], resp[1000]; local [all...] |