Lines Matching defs:reply
198 * 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;
252 reply = dhcp_ipc_alloc_reply(ia->ia_request, error, buffer, size,
254 if (reply == NULL) {
255 dhcpmsg(MSG_ERR, "send_data_reply: cannot allocate reply");
257 } else if ((retval = dhcp_ipc_send_reply(ia->ia_fd, reply)) != 0) {
263 * free the request since we've now used it to send our reply.
264 * we can also close the socket since the reply has been sent.
267 free(reply);