Lines Matching full:reply
41 * the reply as a denial of service attack.
198 /* Send a reply header, including length, but no payload.
215 /* Send a reply header with default 0 length.
223 /* Send an error reply.
251 * Return a malloc'd copy of @name suitable for use in an error reply.
263 /* Send an error reply.
278 /* Drop remainder of the current option, and send a reply with the
324 * sending a reply about inconsistent lengths, or 1 on success. */
349 * sending a reply about inconsistent lengths, or 1 on success. */
372 * sending a reply about inconsistent lengths, or 1 on success.
409 /* Send a single NBD_REP_SERVER reply to NBD_OPT_LIST, including payload.
459 /* For each export, send a NBD_REP_SERVER reply. */ in nbd_negotiate_handle_list()
477 /* Send a reply to NBD_OPT_EXPORT_NAME.
572 * to successfully send an error reply.
746 /* Final reply */ in nbd_negotiate_handle_info()
832 * Send one chunk of reply to NBD_OPT_{LIST,SET}_META_CONTEXT
985 * sending a reply about inconsistent lengths, or 1 on success. */
1043 "request option '%s' when structured reply " in nbd_negotiate_meta_queries()
1291 /* NBD spec says we must try to reply before in nbd_negotiate_options()
1293 * guests that don't wait for our reply. */ in nbd_negotiate_options()
1334 "structured reply already negotiated"); in nbd_negotiate_options()
2052 static inline void set_be_simple_reply(NBDSimpleReply *reply, uint64_t error, in set_be_simple_reply() argument
2055 stl_be_p(&reply->magic, NBD_SIMPLE_REPLY_MAGIC); in set_be_simple_reply()
2056 stl_be_p(&reply->error, error); in set_be_simple_reply()
2057 stq_be_p(&reply->cookie, cookie); in set_be_simple_reply()
2067 NBDSimpleReply reply; in nbd_co_send_simple_reply() local
2070 {.iov_base = &reply, .iov_len = sizeof(reply)}, in nbd_co_send_simple_reply()
2081 set_be_simple_reply(&reply, nbd_err, request->cookie); in nbd_co_send_simple_reply()
2087 * Prepare the header of a reply chunk for network transmission.
2193 /* Do a sparse read and send the structured reply to the client.
2676 /* Special case: we're going to disconnect without a reply, in nbd_co_receive_request()
2822 /* Send simple reply without a payload, or a structured error
2844 * client as an error reply. */
2894 * client as an error reply.
2914 * client as an error reply. */
3160 error_prepend(&local_err, "Failed to send reply: "); in nbd_trip()