Searched defs:reply (Results 1 - 25 of 114) sorted by relevance

12345

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dmk_rep.c47 krb5_ap_rep reply; local
51 /* Make the reply */
78 scratch, &reply.enc_part)))
81 if (!(retval = encode_krb5_ap_rep(&reply, &toutbuf))) {
86 memset(reply.enc_part.ciphertext.data, 0, reply.enc_part.ciphertext.length);
87 free(reply.enc_part.ciphertext.data);
88 reply.enc_part.ciphertext.length = 0;
89 reply.enc_part.ciphertext.data = 0;
H A Drd_rep.c48 krb5_ap_rep * reply; local
56 if ((retval = decode_krb5_ap_rep(inbuf, &reply)))
61 scratch.length = reply->enc_part.ciphertext.length;
63 krb5_free_ap_rep(context, reply);
69 &reply->enc_part, &scratch)))
77 /* Check reply fields */
112 krb5_free_ap_rep(context, reply);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_setinfo_quota.c46 uint32_t reply; local
76 if (smb_quota_set(sr->sr_server, &request, &reply) != 0) {
79 status = reply;
80 xdr_free(xdr_uint32_t, (char *)&reply);
H A Dsmb2_qinfo_quota.c44 smb_quota_response_t reply; local
49 bzero(&reply, sizeof (smb_quota_response_t));
94 if (smb_quota_query(sr->sr_server, &request, &reply) != 0) {
97 status = reply.qr_status;
101 &request, &reply, ofile);
103 xdr_free(smb_quota_response_xdr, (char *)&reply);
H A Dsmb_echo.c60 struct mbuf_chain reply; local
92 MBC_INIT(&reply, SMB_HEADER_ED_LEN + 10 + nbytes);
94 (void) smb_mbc_encodef(&reply, SMB_HEADER_ED_FMT,
108 (void) smb_mbc_encodef(&reply, "bww#c", 1, i,
112 smb_sign_reply(sr, &reply);
114 (void) smb_session_send(sr->session, 0, &reply);
H A Dsmb_nt_transact_quota.c64 * An SMB_COM_NT_TRANSACTION response is sent in reply when the request
91 smb_quota_response_t reply; local
95 bzero(&reply, sizeof (smb_quota_response_t));
156 if (smb_quota_query(sr->sr_server, &request, &reply) != 0) {
159 status = reply.qr_status;
163 &request, &reply, ofile);
167 xdr_free(smb_quota_response_xdr, (char *)&reply);
211 * An SMB_COM_NT_TRANSACTION response is sent in reply when the request
228 uint32_t reply; local
285 if (smb_quota_set(sr->sr_server, &request, &reply) !
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DDAAdvert.c39 SLPError slp_unpackDAAdvert(char *reply, char **surl, char **scopes, argument
52 len = slp_get_length(reply);
53 off = SLP_HDRLEN + slp_get_langlen(reply);
55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK)
64 iov[0].iov_base = reply + off;
66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) {
69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) {
75 iov[1].iov_base = reply + off;
77 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) {
83 iov[3].iov_base = reply
[all...]
H A DSAAdvert.c40 SLPError slp_unpackSAAdvert(char *reply, char **surl, argument
52 len = slp_get_length(reply);
53 off = SLP_HDRLEN + slp_get_langlen(reply);
56 iov[0].iov_base = reply + off;
58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) {
64 iov[2].iov_base = reply + off;
66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) {
72 iov[1].iov_base = reply + off;
74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) {
80 if ((err = slp_get_byte(reply, le
[all...]
H A DSLPGetRefreshInterval.c48 char *reply = NULL; /* reply from slpd */ local
74 if (slp_send2slpd(msg, &reply) != SLP_OK) {
78 (void) slp_UnpackAttrReply(hp, reply, refresh_interval_cb,
87 if (reply) free(reply);
H A Dslp_ipc.c147 * Sends 'msg' to slpd, placing the response in 'reply'. Caller should
148 * free memory associated with 'reply'. All IPC is handled transparantly
152 SLPError slp_send2slpd(const char *msg, char **reply) { argument
157 return (slp_send2slpd_iov(iov, 1, reply));
160 SLPError slp_send2slpd_iov(struct iovec *msg, int iovlen, char **reply) { argument
166 *reply = NULL;
228 err = slp_tcp_read(slpdfd, reply);
236 if (err == SLP_OK && slp_get_errcode(*reply) != 0) {
H A DSLPFindSrvTypes.c72 static SLPBoolean UnpackSrvTypesReply(slp_handle_impl_t *hp, char *reply, argument
82 if (!reply) {
97 /* parse reply into params */
98 len = slp_get_length(reply);
99 off = SLP_HDRLEN + slp_get_langlen(reply);
101 if (slp_get_sht(reply, len, &off, &protoErrCode) != SLP_OK)
109 if (slp_get_string(reply, len, &off, &pcSrvTypes) != SLP_OK)
H A Dslp_da_cache.c43 * table. Associated with each query is a reply (in the format of an
48 * slp_put_das_cached: adds a reply to the cache
86 const char *reply; member in struct:cache_entry
98 * Searches the cache for the reply to 'query'. Returns the reply if
104 char *reply = NULL; local
123 /* copy out the reply */
124 if (!(reply = malloc((*ans)->reply_len))) {
129 (void) memcpy(reply, (*ans)->reply, (*an
149 slp_put_das_cached(const char *query, const char *reply, unsigned int len) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dauth.h78 void (*reply)(struct XauthP *, unsigned char *, int); member in struct:XauthP
H A Dencrypt.h86 int (*reply)(unsigned char *, int); member in struct:__anon144
/illumos-gate/usr/src/cmd/hal/utils/
H A Dadt_data.c28 DBusMessage *reply; local
51 reply = dbus_connection_send_with_reply_and_block (bus,
60 if (reply == NULL) {
65 dbus_message_iter_init (reply, &iter);
71 dbus_message_unref (reply);
86 dbus_message_unref (reply);
97 dbus_message_unref (reply);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dipc_action.c198 * send_ok_reply(): sends an "ok" reply to a request and closes the ipc
201 * input: ipc_action_t *: the request to reply to
213 * send_error_reply(): sends an "error" reply to a request and closes the ipc
216 * input: ipc_action_t *: the request to reply to
229 * send_data_reply(): sends a reply to a request and closes the ipc connection
231 * input: ipc_action_t *: the request to reply to
234 * dhcp_data_type_t: the type of the payload in the reply
235 * const void *: the payload for the reply, or NULL if there is no
246 dhcp_ipc_reply_t *reply; local
252 reply
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dmaindoor.c54 repository_door_response_t reply; local
67 reply.rdr_status = INVALID_RESULT;
84 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST;
93 reply.rdr_status = REPOSITORY_DOOR_FAIL_VERSION_MISMATCH;
101 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST;
106 reply.rdr_status = REPOSITORY_DOOR_FAIL_PERMISSION_DENIED;
113 reply.rdr_status = create_connection(ti->ti_ucred, request,
115 if (reply.rdr_status != REPOSITORY_DOOR_SUCCESS) {
126 reply.rdr_status = REPOSITORY_DOOR_FAIL_BAD_REQUEST;
131 assert(reply
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dtipout.c48 char reply; local
60 reply = 'y';
63 reply = 'n';
65 reply = 'y';
69 (void) write(repdes[1], &reply, 1);
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c124 dhcp_ipc_reply_t *reply; local
141 error = dhcp_ipc_make_request(request, &reply, 0);
143 free(reply);
177 error = dhcp_ipc_make_request(request, &reply, 0);
179 free(reply);
194 * when printing DHCP_STATUS reply.
226 * dhcp_status_reply_to_string(): Return DHCP IPC reply of type DHCP_STATUS
233 dhcp_status_reply_to_string(dhcp_ipc_reply_t *reply) argument
239 status = dhcp_ipc_get_data(reply, &reply_size, NULL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_nat.c73 * rbuf: reply buffer to be filled in.
74 * rbufsz: reply buffer size.
86 ilb_show_info_t *reply; local
96 * want to continue, reset the current client and reply OK.
111 reply = (ilb_show_info_t *)&((ilb_comm_t *)rbuf)->ic_data;
115 * reply.
144 reply->sn_num = kcmd->num_nat;
145 *rbufsz += reply->sn_num * sizeof (ilb_nat_info_t);
161 nat_ret = (ilb_nat_info_t *)&reply->sn_data;
193 * rbuf: reply buffe
207 ilb_show_info_t *reply; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsm_resolve.c156 ** PARSE_DNS_REPLY -- parse DNS reply data.
399 unsigned char reply[1024]; local
420 len = res_search(domain, rr_class, rr_type, reply, sizeof(reply));
428 r = parse_dns_reply(reply, len);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/
H A Ddhcpinfo.c58 dhcp_ipc_reply_t *reply; local
163 * send the request to the agent and reap the reply
172 error = dhcp_ipc_make_request(request, &reply, DHCP_IPC_WAIT_DEFAULT);
173 if (error != 0 || reply->return_code != 0) {
176 error = reply->return_code;
187 opt = dhcp_ipc_get_data(reply, &opt_len, NULL);
237 "reply\n", argv[0]);
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dmain.c92 DBusMessage *reply; local
122 /* let run_request_run handle the reply */
128 reply = dbus_message_new_error(msg, "org.freedesktop.HalRunner.Malformed",
130 dbus_connection_send(con, reply, NULL);
131 dbus_message_unref(reply);
137 DBusMessage *reply; local
162 reply = dbus_message_new_method_return(msg);
163 dbus_message_append_args (reply,
168 reply = dbus_message_new_error(msg, "org.freedesktop.HalRunner.Failed",
171 dbus_connection_send(con, reply, NUL
186 DBusMessage *reply = NULL; local
211 DBusMessage *reply; local
[all...]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c74 ldma_message_header_t *reply = NULL; local
100 reply = ldma_alloc_result_msg(request, reply_dlen);
101 if (reply == NULL) {
107 path_type = (uint32_t *)(LDMA_HDR2DATA(reply));
109 reply->msg_info = 0x0;
143 reply->msg_info |= LDMA_DEVPATH_EXIST;
165 reply->msg_info |= LDMA_DEVPATH_OPENRW | LDMA_DEVPATH_OPENRO;
173 reply->msg_info |= LDMA_DEVPATH_OPENRO;
184 * We don't provide a reply message if the request has not
186 * appropriate reply base
218 ldma_message_header_t *reply = NULL; local
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpusers.c48 reply[100]; variable
200 if (mrecv(reply, sizeof(reply)) == -1)
202 mtype = getmessage(reply, R_LOAD_USER_FILE, &status);

Completed in 120 milliseconds

12345