Searched refs:resp (Results 126 - 150 of 263) sorted by relevance

1234567891011

/freebsd-9.3-release/usr.sbin/ppp/
H A Dauth.c106 pam_conv(int n, const struct pam_message **msg, struct pam_response **resp, argument
112 if ((*resp = malloc(sizeof(struct pam_response))) == NULL)
114 (*resp)[0].resp = strdup((const char *)data);
115 (*resp)[0].resp_retcode = 0;
117 return ((*resp)[0].resp != NULL ? PAM_SUCCESS : PAM_CONV_ERR);
/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c661 struct wpabuf *resp; local
663 resp = eap_msg_alloc(EAP_VENDOR_IETF, eap_type, 1, EAP_CODE_RESPONSE,
665 if (resp == NULL)
669 wpabuf_put_u8(resp, peap_version); /* Flags */
670 return resp;
993 * @resp: Buffer for returning the EAP-Nak message
997 struct eap_hdr *hdr, struct wpabuf **resp)
1006 *resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, num_types,
1008 if (*resp == NULL)
1014 wpabuf_put_u8(*resp, type
996 eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types, struct eap_hdr *hdr, struct wpabuf **resp) argument
[all...]
H A Deap_tls_common.h124 struct eap_hdr *hdr, struct wpabuf **resp);
/freebsd-9.3-release/sys/fs/hpfs/
H A Dhpfs_alsubr.c561 u_long *resp) /* Mix returning info */
572 *resp = 0;
731 *resp = AE_SPLIT;
750 * extents above bn. Returns *resp != 0 if alblk was totally
761 int *resp)
790 &asp->as_ab, bn, resp);
796 if (*resp) {
862 *resp = 1;
864 *resp = 0;
902 *resp
556 hpfs_addextentr( struct hpfsmount *hpmp, lsn_t rlsn, alleaf_t *ralp, alnode_t *ranp, u_long *resp) argument
757 hpfs_truncatealblk( struct hpfsmount *hpmp, alblk_t *abp, lsn_t bn, int *resp) argument
[all...]
/freebsd-9.3-release/sys/netgraph/
H A Dng_device.c205 struct ng_mesg *resp = NULL; local
215 NG_MKRESPONSE(resp, msg,
218 if (resp == NULL)
222 strlcpy((char *)resp->data, dn, strlen(dn) + 1);
233 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_etf.c250 struct ng_mesg *resp = NULL; local
263 NG_MKRESPONSE(resp, msg, sizeof(*stats), M_NOWAIT);
264 if (!resp) {
268 stats = (struct ng_etfstat *) resp->data;
342 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_rfc1490.c216 struct ng_mesg *resp = NULL; local
249 NG_MKRESPONSE(resp, msg, strlen(priv->enc->name) + 1, M_NOWAIT);
250 if (resp == NULL)
253 strlcpy((char *)resp->data, priv->enc->name,
265 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_sppp.c315 struct ng_mesg *resp = NULL; local
324 NG_MKRESPONSE (resp, msg, IFNAMSIZ, M_NOWAIT);
325 if (!resp) {
329 strlcpy(resp->data, SP2IFP(pp)->if_xname, IFNAMSIZ);
341 NG_RESPOND_MSG (error, node, item, resp);
H A Dng_tcpmss.c179 struct ng_mesg *msg, *resp = NULL; local
207 NG_MKRESPONSE(resp, msg,
209 if (resp == NULL)
211 bcopy(&priv->stats, resp->data,
255 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_tee.c211 struct ng_mesg *resp = NULL; local
226 NG_MKRESPONSE(resp, msg,
228 if (resp == NULL) {
232 stats = (struct ng_tee_stats *)resp->data;
274 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_async.c259 struct ng_mesg *resp = NULL; local
268 NG_MKRESPONSE(resp, msg, sizeof(sc->stats), M_NOWAIT);
269 if (resp == NULL)
271 *((struct ng_async_stat *) resp->data) = sc->stats;
316 NG_MKRESPONSE(resp, msg, sizeof(sc->cfg), M_NOWAIT);
317 if (!resp)
319 *((struct ng_async_cfg *) resp->data) = sc->cfg;
329 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_car.c380 struct ng_mesg *resp = NULL; local
393 NG_MKRESPONSE(resp, msg,
395 if (resp == NULL) {
399 bstats = (struct ng_car_bulkstats *)resp->data;
418 NG_MKRESPONSE(resp, msg,
420 if (resp == NULL) {
424 bconf = (struct ng_car_bulkconf *)resp->data;
523 NG_RESPOND_MSG(error, node, item, resp);
H A Dng_eiface.c477 struct ng_mesg *resp = NULL; local
499 NG_MKRESPONSE(resp, msg, IFNAMSIZ, M_NOWAIT);
500 if (resp == NULL) {
504 strlcpy(resp->data, ifp->if_xname, IFNAMSIZ);
518 NG_MKRESPONSE(resp, msg, buflen, M_NOWAIT);
519 if (resp == NULL) {
526 ptr = resp->data;
568 NG_RESPOND_MSG(error, node, item, resp);
/freebsd-9.3-release/sys/dev/mmc/
H A Dmmc.c179 static int mmc_send_relative_addr(struct mmc_softc *sc, uint32_t *resp);
185 static int mmc_set_relative_addr(struct mmc_softc *sc, uint16_t resp);
195 uint32_t arg, uint32_t flags, uint32_t *resp, int retries);
412 memset(cmd->resp, 0, sizeof(cmd->resp));
435 if (!(appcmd.resp[0] & R1_APP_CMD))
447 uint32_t arg, uint32_t flags, uint32_t *resp, int retries)
462 if (resp) {
464 memcpy(resp, cmd.resp,
446 mmc_wait_for_command(struct mmc_softc *sc, uint32_t opcode, uint32_t arg, uint32_t flags, uint32_t *resp, int retries) argument
1150 mmc_set_relative_addr(struct mmc_softc *sc, uint16_t resp) argument
1164 mmc_send_relative_addr(struct mmc_softc *sc, uint32_t *resp) argument
1230 uint32_t raw_cid[4], resp, sec_count, status; local
[all...]
/freebsd-9.3-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c1532 snmp_parse_get_resp(struct snmp_pdu *resp, struct snmp_pdu *req) argument
1538 &resp->bindings[i].var) != 0) {
1543 if (snmp_client.version != SNMP_V1 && (resp->bindings[i].syntax
1544 == SNMP_SYNTAX_NOSUCHOBJECT || resp->bindings[i].syntax ==
1553 snmp_parse_getbulk_resp(struct snmp_pdu *resp, struct snmp_pdu *req) argument
1557 if (req->error_status > (int32_t) resp->nbindings) {
1564 &resp->bindings[N].var) == 0)
1566 if (resp->bindings[N].syntax == SNMP_SYNTAX_ENDOFMIBVIEW)
1572 (int32_t) resp->nbindings; M++) {
1574 &resp
1590 snmp_parse_getnext_resp(struct snmp_pdu *resp, struct snmp_pdu *req) argument
1611 snmp_parse_resp(struct snmp_pdu *resp, struct snmp_pdu *req) argument
[all...]
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_sake.c259 struct eap_sake_hdr *resp; local
270 resp = (struct eap_sake_hdr *) pos;
271 version = resp->version;
272 session_id = resp->session_id;
273 subtype = resp->subtype;
433 struct eap_sake_hdr *resp; local
442 resp = (struct eap_sake_hdr *) pos;
444 subtype = resp->subtype;
445 pos = (u8 *) (resp + 1);
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dnetflow.c914 struct ngnf_show_header *resp)
918 struct flow_entry_data *data = (struct flow_entry_data *)(resp + 1);
920 struct flow6_entry_data *data6 = (struct flow6_entry_data *)(resp + 1);
930 resp->version = 6;
936 resp->version = 4;
953 resp->nentries = 0;
963 resp->hash_id = i;
964 resp->list_id = 0;
971 resp->hash_id = i;
972 resp
913 ng_netflow_flow_show(priv_p priv, struct ngnf_show_header *req, struct ngnf_show_header *resp) argument
[all...]
H A Dng_netflow.c371 struct ng_mesg *resp = NULL; local
385 NG_MKRESPONSE(resp, msg, sizeof(struct ng_netflow_info),
387 i = (struct ng_netflow_info *)resp->data;
408 NG_MKRESPONSE(resp, msg,
410 i = (struct ng_netflow_ifinfo *)resp->data;
530 NG_MKRESPONSE(resp, msg, NGRESP_SIZE, M_NOWAIT);
532 if (!resp)
537 (struct ngnf_show_header *)resp->data);
540 NG_FREE_MSG(resp);
548 NG_MKRESPONSE(resp, ms
[all...]
/freebsd-9.3-release/contrib/netcat/
H A Dsocks.c292 char resp[1024]; local
298 b64_ntop(buf, strlen(buf), resp,
299 sizeof(resp)) == -1)
302 "Basic %s\r\n", resp);
/freebsd-9.3-release/sbin/atm/atmconfig/
H A Datmconfig_device.c340 struct snmp_pdu pdu, resp; local
382 if (snmp_dialog(&pdu, &resp))
386 if (snmp_pdu_check(&pdu, &resp) <= 0)
389 snmp_pdu_free(&resp);
/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dreadmsg.c408 struct tsp resp; local
410 resp = msgin;
411 resp.tsp_vers = TSPVERSION;
412 (void)strcpy(resp.tsp_name, hostname);
/freebsd-9.3-release/lib/libnetgraph/
H A Dsock.c115 struct ng_mesg *const resp = (struct ng_mesg *) rbuf; local
116 struct nodeinfo *const ni = (struct nodeinfo *) resp->data;
126 if (NgRecvMsg(cs, resp, sizeof(rbuf), NULL) < 0) {
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Drecvjob.c310 char resp; local
312 if (read(STDOUT_FILENO, &resp, (size_t)1) != 1) {
316 if (resp == '\0')
/freebsd-9.3-release/crypto/openssl/crypto/ocsp/
H A Docsp_ht.c425 OCSP_RESPONSE *resp = NULL; local
435 rv = OCSP_sendreq_nbio(&resp, ctx);
441 return resp;
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Drevoke.c270 OCSPResponse resp; local
276 ret = decode_OCSPResponse(data, length, &resp, &size);
280 free_OCSPResponse(&resp);
284 switch (resp.responseStatus) {
288 free_OCSPResponse(&resp);
292 if (resp.responseBytes == NULL) {
293 free_OCSPResponse(&resp);
297 ret = der_heim_oid_cmp(&resp.responseBytes->responseType,
300 free_OCSPResponse(&resp);
304 ret = decode_OCSPBasicOCSPResponse(resp
[all...]

Completed in 221 milliseconds

1234567891011