Searched refs:reply (Results 26 - 50 of 197) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_logoff.c46 * SMB2 Logoff reply
49 &sr->reply, "wwl",
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...]
H A Dsmb_quota.c293 smb_quota_response_t *reply, smb_ofile_t *ofile)
301 list_t *list = &reply->qr_quota_list;
375 smb_quota_response_t reply; local
388 bzero(&reply, sizeof (smb_quota_response_t));
405 if (smb_quota_query(sr->sr_server, &request, &reply) != 0) {
408 if (reply.qr_status != NT_STATUS_SUCCESS) {
409 status = reply.qr_status;
411 q = list_head(&reply.qr_quota_list);
420 xdr_free(smb_quota_response_xdr, (char *)&reply);
435 * 0 - success. Status set in reply
292 smb_quota_encode_quotas(mbuf_chain_t *mbc, smb_quota_query_t *request, smb_quota_response_t *reply, smb_ofile_t *ofile) argument
438 smb_quota_query(smb_server_t *sv, smb_quota_query_t *request, smb_quota_response_t *reply) argument
457 smb_quota_set(smb_server_t *sv, smb_quota_set_t *request, uint32_t *reply) argument
[all...]
H A Dsmb2_tree_disconn.c48 * SMB2 Tree Disconnect reply
51 &sr->reply, "wwl",
H A Dsmb2_flush.c58 * SMB2 Flush reply
61 &sr->reply, "wwl",
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_connect.c145 ndmp_connect_open_reply reply; local
148 reply.error = NDMP_NO_ERR;
155 reply.error = NDMP_ILLEGAL_STATE_ERR;
157 reply.error = NDMP_ILLEGAL_ARGS_ERR;
159 ndmp_send_reply(connection, (void *) &reply,
160 "sending connect_open reply");
164 * Must wait until after sending the reply since the reply
168 if (reply.error == NDMP_NO_ERR) {
193 ndmp_connect_client_auth_reply reply; local
356 ndmp_connect_server_auth_reply reply; local
437 ndmp_connect_client_auth_reply_v3 reply; local
[all...]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_system.c79 ldma_message_header_t *reply; local
107 reply = ldma_alloc_result_msg(request, rlen);
109 if (reply == NULL) {
114 reply->msg_info = rlen;
116 data = LDMA_HDR2DATA(reply);
136 *replyp = reply;
256 ldma_message_header_t *reply; local
278 reply = ldma_alloc_result_msg(request, rlen);
280 if (reply == NULL) {
285 reply
[all...]
H A Dldmad.c41 * a reply message back to the control domain. The reply is either a result
299 ldma_message_header_t *reply = NULL; local
377 &reply, &reply_dlen);
379 LDMA_DBG("%s: DATA hdl=%llx, handler stat=%d reply=%p rlen=%d",
380 agent->info->name, hdl, status, (void *)reply, reply_dlen);
384 * If the handler has provided a reply message, we use it directly.
385 * Otherwise, we build a reply depending on the status of the request.
386 * In that case, we re-use the request buffer to build the reply
389 if (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/boot/lib/libstand/
H A Drpc.c117 struct rpc_reply *reply; local
178 recv_head -= sizeof(*reply);
191 if (cc <= sizeof(*reply)) {
199 * Check the RPC reply status.
202 reply = (struct rpc_reply *)recv_head;
203 auth = &reply->rp_u.rpu_rok.rok_auth;
208 printf("callrpc: reply auth != NULL\n");
213 x = ntohl(reply->rp_u.rpu_rok.rok_status);
219 recv_head += sizeof(*reply);
232 struct rpc_reply *reply; local
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindSrvs.c106 SLPBoolean slp_unpackSrvReply(slp_handle_impl_t *hp, char *reply, argument
116 if (!reply) {
126 len = slp_get_length(reply);
127 off = SLP_HDRLEN + slp_get_langlen(reply);
129 if (slp_get_sht(reply, len, &off, &protoErrCode) != SLP_OK)
137 if (slp_get_sht(reply, len, &off, &urlCount) != SLP_OK)
151 if (slp_get_sht(reply, len, &off, &sLifetime) != SLP_OK)
154 url_tbv = reply + off;
156 if (slp_get_string(reply, len, &off, &pcSrvURL) != SLP_OK)
161 if (slp_get_byte(reply, le
224 unpackDAAdvert_srv(slp_handle_impl_t *hp, char *reply, SLPSrvURLCallback cb, void *cookie, void **collator, int *numResults) argument
282 unpackSAAdvert_srv(slp_handle_impl_t *hp, char *reply, SLPSrvURLCallback cb, void *cookie, void **collator, int *numResults) argument
[all...]
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 Dslp_net.c120 * retransmission due to a large reply, 'xid' should be the same as for
202 char *reply = NULL; local
219 /* make the socket, msghdr and reply buf */
230 if (!reply && !(reply = malloc(mtu))) {
263 if (recvfrom(sockfd, reply, mtu, 0, NULL, NULL) < 0) {
264 /* if reply overflows, hand off to TCP */
266 free(reply); reply = NULL;
275 slp_proto_err errcode = slp_get_errcode(reply);
459 char *reply, header[SLP_DEFAULT_SENDMTU]; local
574 slp_tcp_read(int sockfd, char **reply) argument
1012 char *reply = NULL; local
[all...]
H A DSLPFindAttrs.c105 SLPBoolean slp_UnpackAttrReply(slp_handle_impl_t *hp, char *reply, argument
118 if (!reply) {
132 /* parse reply into params */
133 len = slp_get_length(reply);
134 off = SLP_HDRLEN + slp_get_langlen(reply);
136 if (slp_get_sht(reply, len, &off, &protoErrCode) != SLP_OK)
144 attr_tbv = reply + off;
146 if (slp_get_string(reply, len, &off, &pcAttrList) != SLP_OK)
151 if (slp_get_byte(reply, len, &off, &auth_cnt) != SLP_OK) {
164 reply
196 unpackDAAdvert_attr(slp_handle_impl_t *hp, char *reply, SLPAttrCallback cb, void *cookie, void **collator, int *numResults) argument
253 unpackSAAdvert_attr(slp_handle_impl_t *hp, char *reply, SLPAttrCallback cb, void *cookie, void **collator, int *numResults) argument
[all...]
H A DSLPUtils.c66 char *reply, *unesc_reply; local
86 if ((err = slp_find_das("", &reply)) != SLP_OK &&
90 /* Unpack the reply */
91 if (reply) {
98 hSLP, reply, collate_scopes,
104 free(reply);
279 static SLPBoolean unpackSAAdvert_scope(slp_handle_impl_t *hSLP, char *reply, argument
285 if (!reply) {
293 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) {
311 * and sends it to slpd, returning the reply i
313 slp_find_das(const char *filter, char **reply) argument
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c741 smb_gmttoken_response_t reply; local
745 bzero(&reply, sizeof (smb_gmttoken_response_t));
751 reply.gtr_gmttokens.gtr_gmttokens_val = malloc(request.gtq_count *
753 bzero(reply.gtr_gmttokens.gtr_gmttokens_val, request.gtq_count *
756 if (reply.gtr_gmttokens.gtr_gmttokens_val == NULL) {
762 &reply.gtr_count,
763 &reply.gtr_gmttokens.gtr_gmttokens_len,
764 reply.gtr_gmttokens.gtr_gmttokens_val);
766 arg->rbuf = smb_common_encode(&reply, smb_gmttoken_response_xdr,
773 for (i = 0, gmtp = reply
854 smb_quota_response_t reply; local
907 dfs_referral_response_t reply; local
939 uint32_t reply; local
964 int reply; local
[all...]
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dsvc-network-discovery62 execute /usr/bin/dbus-send --system --print-reply \
71 execute /usr/bin/dbus-send --system --print-reply \
84 execute /usr/bin/dbus-send --system --print-reply \
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSARequester.java239 SrvLocMsg reply =
244 handleError(reply);
310 SrvLocMsg reply =
315 handleError(reply);
H A DActiveDiscoverer.java278 SrvLocMsg reply = null;
281 reply = Transact.transactTCPMsg(daAddr, activeMsg, false);
297 if (!(reply instanceof CDAAdvert)) {
300 new Object[] { daAddr, reply });
308 CDAAdvert advert = (CDAAdvert)reply;
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-power-hibernate-sunos.sh27 dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_runner.c368 DBusMessage *msg, *reply; local
384 /* Wait for the reply, should be almost instantanious */
385 reply =
388 if (reply) {
390 (dbus_message_get_type(reply) == DBUS_MESSAGE_TYPE_METHOD_RETURN);
394 if (dbus_message_get_args (reply, &err,
413 dbus_message_unref(reply);
468 HAL_ERROR (("Malformed or unexpected reply message"));
545 DBusMessage *msg, *reply; local
562 /* Wait for the reply, shoul
575 DBusMessage *msg, *reply; local
[all...]
/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/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]);

Completed in 105 milliseconds

12345678