Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c68 static void do_announce(CTL_MSG *request, CTL_RESPONSE *response);
72 process_request(CTL_MSG *request, CTL_RESPONSE *response) in process_request() argument
76 response->type = request->type; in process_request()
77 response->id_num = 0; in process_request()
87 response->answer = FAILED; in process_request()
98 do_announce(request, response); in process_request()
105 response->id_num = ptr->id_num; in process_request()
106 response->answer = SUCCESS; in process_request()
108 insert_table(request, response); in process_request()
116 response->id_num = ptr->id_num; in process_request()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap_ms.c124 ChallengeResponse(challenge, pwHash, response) in ChallengeResponse() argument
127 u_char *response; /* OUT 24 octets */
139 DesEncrypt(challenge, ZPasswordHash + 0, response + 0);
140 DesEncrypt(challenge, ZPasswordHash + 7, response + 8);
141 DesEncrypt(challenge, ZPasswordHash + 14, response + 16);
144 dbglog("ChallengeResponse - response %.24B", response);
286 ChapMS_NT(rchallenge, secret, secret_len, response) in ChapMS_NT() argument
290 MS_ChapResponse *response;
314 ChallengeResponse(rchallenge, hash, response->NTResp);
321 ChapMS_LANMan(rchallenge, secret, secret_len, response) in ChapMS_LANMan() argument
[all …]
/titanic_41/usr/src/lib/print/libipp-listener/common/
H A Dipp-listener.c51 papi_attribute_t ***response,
87 papi_attribute_t ***response, ipp_reader_t iread, void *fd) in default_handler() argument
91 if (response != NULL) in default_handler()
92 (void) papiAttributeListGetInteger(*response, NULL, in default_handler()
178 ipp_operation_handler(papi_attribute_t **request, papi_attribute_t ***response) in ipp_operation_handler() argument
190 ipp_set_status(response, PAPI_BAD_ARGUMENT, in ipp_operation_handler()
207 ipp_set_status(response, PAPI_OPERATION_NOT_SUPPORTED, in ipp_operation_handler()
217 ipp_set_status(response, PAPI_INTERNAL_ERROR, in ipp_operation_handler()
226 ipp_set_status(response, PAPI_OPERATION_NOT_SUPPORTED, in ipp_operation_handler()
327 papi_attribute_t ***response) in ipp_initialize_response() argument
[all …]
H A Dsend-document.c44 papi_attribute_t ***response, ipp_reader_t iread, void *fd) in ipp_send_document() argument
71 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_send_document()
75 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_send_document()
83 ipp_set_status(response, status, "last-document: %s", in ipp_send_document()
108 ipp_set_status(response, status, "job submission: %s", in ipp_send_document()
117 ipp_set_status(response, status, "write job data: %s", in ipp_send_document()
125 ipp_set_status(response, status, "close job stream: %s", in ipp_send_document()
138 papi_to_ipp_job_group(response, request, PAPI_ATTR_REPLACE, j); in ipp_send_document()
H A Dcancel-job.c39 papi_attribute_t ***response) in ipp_cancel_job() argument
58 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_cancel_job()
62 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_cancel_job()
76 ipp_set_status(response, status, in ipp_cancel_job()
85 (void) papiAttributeListAddCollection(response, in ipp_cancel_job()
91 ipp_set_status(response, status, in ipp_cancel_job()
H A Dhold-job.c39 papi_attribute_t ***response) in ipp_hold_job() argument
58 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_hold_job()
62 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_hold_job()
76 ipp_set_status(response, status, in ipp_hold_job()
85 (void) papiAttributeListAddCollection(response, in ipp_hold_job()
91 ipp_set_status(response, status, in ipp_hold_job()
H A Drelease-job.c39 papi_attribute_t ***response) in ipp_release_job() argument
58 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_release_job()
62 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_release_job()
75 ipp_set_status(response, status, in ipp_release_job()
84 (void) papiAttributeListAddCollection(response, in ipp_release_job()
90 ipp_set_status(response, status, in ipp_release_job()
H A Dcups-move-job.c39 papi_attribute_t ***response) in cups_move_job() argument
60 ipp_set_status(response, status, in cups_move_job()
72 ipp_set_status(response, PAPI_BAD_REQUEST, in cups_move_job()
76 ipp_set_status(response, PAPI_BAD_REQUEST, in cups_move_job()
89 ipp_set_status(response, PAPI_BAD_REQUEST, in cups_move_job()
96 ipp_set_status(response, status, in cups_move_job()
H A Drestart-job.c39 papi_attribute_t ***response) in ipp_restart_job() argument
59 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_restart_job()
63 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_restart_job()
79 ipp_set_status(response, status, in ipp_restart_job()
95 (void) papiAttributeListAddCollection(response, in ipp_restart_job()
101 ipp_set_status(response, status, in ipp_restart_job()
H A Dget-job-attributes.c39 papi_attribute_t ***response) in ipp_get_job_attributes() argument
60 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_get_job_attributes()
64 ipp_set_status(response, PAPI_BAD_REQUEST, in ipp_get_job_attributes()
76 ipp_set_status(response, status, "query job: %s", in ipp_get_job_attributes()
84 papi_to_ipp_job_group(response, request, PAPI_ATTR_REPLACE, j); in ipp_get_job_attributes()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dlook_up.c59 CTL_RESPONSE response; in check_local() local
65 if (!look_for_invite(&response)) { in check_local()
79 response = swapresponse(response); in check_local()
80 while (connect(sockt, (struct sockaddr *)&response.addr, in check_local()
81 sizeof (response.addr)) != 0) { in check_local()
91 ctl_transact(rem_machine_addr, msg, DELETE, &response); in check_local()
110 look_for_invite(response) in look_for_invite() argument
111 CTL_RESPONSE *response; in look_for_invite()
115 ctl_transact(rem_machine_addr, msg, LOOK_UP, response);
121 switch (response->answer) {
[all …]
H A Dinvite.c76 CTL_RESPONSE response; in invite_remote() local
124 ctl_transact(my_machine_addr, msg, DELETE, &response); in invite_remote()
126 ctl_transact(rem_machine_addr, msg, DELETE, &response); in invite_remote()
148 CTL_RESPONSE response; in announce_invite() local
153 ctl_transact(rem_machine_addr, msg, ANNOUNCE, &response); in announce_invite()
154 remote_id = response.id_num; in announce_invite()
156 if (response.answer != SUCCESS) { in announce_invite()
158 switch (response.answer) { in announce_invite()
189 ctl_transact(my_machine_addr, msg, LEAVE_INVITE, &response); in announce_invite()
190 local_id = response.id_num; in announce_invite()
/titanic_41/usr/src/lib/print/libpapi-ipp/common/
H A Dprinter.c87 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in papiPrintersList() local
112 result = ipp_send_request(svc, request, &response); in papiPrintersList()
116 for (status = papiAttributeListGetCollection(response, &iter, in papiPrintersList()
119 status = papiAttributeListGetCollection(response, &iter, in papiPrintersList()
130 papiAttributeListFree(response); in papiPrintersList()
144 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in papiPrinterQuery() local
172 result = ipp_send_request(svc, request, &response); in papiPrinterQuery()
176 papiAttributeListGetCollection(response, NULL, in papiPrinterQuery()
179 papiAttributeListFree(response); in papiPrinterQuery()
190 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in _printer_enable_disable_pause_resume_delete() local
[all …]
H A Djob.c172 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in send_document_uri() local
189 result = ipp_send_request_with_file(svc, request, &response, file); in send_document_uri()
191 papiAttributeListFree(response); in send_document_uri()
212 papi_attribute_t **request = NULL, **response = NULL; in internal_job_submit() local
296 result = ipp_send_request_with_file(svc, request, &response, in internal_job_submit()
302 result = ipp_send_request(svc, request, &response); in internal_job_submit()
311 papiAttributeListGetCollection(response, NULL, in internal_job_submit()
329 papiAttributeListFree(response); in internal_job_submit()
435 papi_attribute_t **response = NULL; in papiJobStreamClose() local
455 result = ipp_read_message(&ipp_request_read, svc, &response, in papiJobStreamClose()
[all …]
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmilter.c132 if (response == NULL || \
133 strlen(response) + 1 != (size_t) rlen || \
135 (response[0] != '4' && response[0] != '5') || \
136 !isascii(response[1]) || !isdigit(response[1]) || \
137 !isascii(response[2]) || !isdigit(response[2])) \
139 if (response != NULL) \
140 sm_free(response); /* XXX */ \
141 response = newstr(default); \
145 char *ptr = response; \
152 sm_free(response); /* XXX */ \
[all …]
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dshtinyurl.sh54 nameref response="$1"
61 response.statuscode="$statuscode"
62 response.statusmsg="$statusmsg"
73 response.content_type="${i/~(El).*:[[:blank:]]*/}"
76 integer response.content_length="${i/~(El).*:[[:blank:]]*/}"
79 response.transfer_encoding="${i/~(El).*:[[:blank:]]*/}"
136 response="${ cat_http_body "${httpresponse.transfer_encoding}" <&${netfd} ; }"
142 print -r -- "${response}"
145 …response was (%s,%s):\n%s\n" "${httpresponse.statuscode}" "${httpresponse.statusmsg}" "${response}"
182 response="${ cat_http_body "${httpresponse.transfer_encoding}" <&${netfd} ; }"
[all …]
H A Dshnote.sh86 nameref response="$1"
93 response.statuscode="$statuscode"
94 response.statusmsg="$statusmsg"
105 response.content_type="${i/~(El).*:[[:blank:]]*/}"
108 integer response.content_length="${i/~(El).*:[[:blank:]]*/}"
111 response.transfer_encoding="${i/~(El).*:[[:blank:]]*/}"
265 response="$(cat_http_body "${httpresponse.transfer_encoding}" <&${netfd})"
270 if [[ "${response}" == ~(E).*SUCCESS.* ]] ; then
287 printf "ERROR: %s\n" "${response}"
/titanic_41/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c94 nvlist_t *response = NULL; in mv_xattrs() local
102 response = sysattr_list(cmd, srcfd, infile); in mv_xattrs()
209 if (response != NULL) { in mv_xattrs()
249 if (response != NULL) in mv_xattrs()
250 nvlist_free(response); in mv_xattrs()
277 nvlist_t *response; in sysattr_list() local
282 if (fgetattr(fd, XATTR_VIEW_READWRITE, &response) != 0) { in sysattr_list()
289 while ((pair = nvlist_next_nvpair(response, pair)) != NULL) { in sysattr_list()
296 return (response); in sysattr_list()
311 return (response); in sysattr_list()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dpromptusr.c22 char * response; member
96 if ((p->response = malloc(strlen(read_string)+1)) == NULL) { in krb5_os_get_tty_uio()
100 strcpy(p->response, read_string); in krb5_os_get_tty_uio()
116 if (p->response) { in krb5_os_get_tty_uio()
117 memset(p->response, 0, strlen(p->response)); in krb5_os_get_tty_uio()
118 free(p->response); in krb5_os_get_tty_uio()
119 p->response = 0; in krb5_os_get_tty_uio()
138 if (p->response) in krb5_free_uio()
139 free(p->response); in krb5_free_uio()
/titanic_41/usr/src/lib/libsasl/lib/
H A Dcheckpw.c266 const char *response, in _sasl_auxprop_verify_apop() argument
282 if (!conn || !userstr || !challenge || !response) in _sasl_auxprop_verify_apop()
320 if (!strncasecmp(digeststr, response, 32)) { in _sasl_auxprop_verify_apop()
418 static char response[1024]; in pwcheck_verify_password() local
447 while (start < sizeof(response) - 1) { in pwcheck_verify_password()
448 n = read(s, response+start, sizeof(response) - 1 - start); in pwcheck_verify_password()
455 if (start > 1 && !strncmp(response, "OK", 2)) { in pwcheck_verify_password()
459 response[start] = '\0'; in pwcheck_verify_password()
460 sasl_seterror(conn,0,response); in pwcheck_verify_password()
503 char response[1024]; in saslauthd_verify_password() local
[all …]
/titanic_41/usr/src/lib/libscf/common/
H A Dlowlevel.c1006 rep_protocol_response_t response; in handle_unbind_unlocked() local
1014 &response, sizeof (response)); in handle_unbind_unlocked()
1034 rep_protocol_response_t response; in datael_attach() local
1052 &response, sizeof (response)); in datael_attach()
1059 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_attach()
1060 return (scf_set_error(proto_error(response.rpr_response))); in datael_attach()
1077 struct rep_protocol_response response; in iter_attach() local
1092 &response, sizeof (response)); in iter_attach()
1099 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in iter_attach()
1100 return (scf_set_error(proto_error(response.rpr_response))); in iter_attach()
[all …]
/titanic_41/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_user_verbs.h144 ofv_resp_addr_t response; member
154 ofv_resp_addr_t response; member
203 ofv_resp_addr_t response; member
233 ofv_resp_addr_t response; member
245 ofv_resp_addr_t response; member
258 ofv_resp_addr_t response; member
280 ofv_resp_addr_t response; member
300 ofv_resp_addr_t response; member
308 ofv_resp_addr_t response; member
331 ofv_resp_addr_t response; member
[all …]
/titanic_41/usr/src/lib/print/libipp-core/common/
H A Dipp.c53 ipp_validate_request(papi_attribute_t **request, papi_attribute_t ***response) in ipp_validate_request() argument
59 if ((request == NULL) || (response == NULL) || (*response == NULL)) in ipp_validate_request()
66 ipp_set_status(response, result, in ipp_validate_request()
75 ipp_set_status(response, result, "attributes-charset: %s", in ipp_validate_request()
83 ipp_set_status(response, result, in ipp_validate_request()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddispatch.c47 dispatch(krb5_data *pkt, const krb5_fulladdr *from, krb5_data **response) in dispatch() argument
58 if (kdc_check_lookaside(pkt, response)) { in dispatch()
98 retval = process_tgs_req(pkt, from, response); in dispatch()
106 retval = process_as_req(as_req, pkt, from, response); in dispatch()
113 retval = process_v4(pkt, from, response); in dispatch()
120 kdc_insert_lookaside(pkt, *response); in dispatch()
/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_bmc.c95 ipmi_bmc_send(void *data, ipmi_cmd_t *cmd, ipmi_cmd_t *response, in ipmi_bmc_send() argument
160 response->ic_netfn = recv.msg.netfn; in ipmi_bmc_send()
162 response->ic_lun = cmd->ic_lun; in ipmi_bmc_send()
163 response->ic_cmd = recv.msg.cmd; in ipmi_bmc_send()
166 response->ic_dlen = 0; in ipmi_bmc_send()
167 response->ic_data = NULL; in ipmi_bmc_send()
170 response->ic_dlen = (recv.msg.data_len > 0) ? in ipmi_bmc_send()
172 response->ic_data = &(recv.msg.data[1]); in ipmi_bmc_send()

12345678910>>...16