Lines Matching refs:reply
40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument
45 iov.iov_base = reply; in mconsole_reply_v0()
46 iov.iov_len = strlen(reply); in mconsole_reply_v0()
134 struct mconsole_reply reply; in mconsole_reply_len() local
138 reply.err = err; in mconsole_reply_len()
145 if (len == total) reply.more = more; in mconsole_reply_len()
146 else reply.more = 1; in mconsole_reply_len()
148 memcpy(reply.data, str, len); in mconsole_reply_len()
149 reply.data[len] = '\0'; in mconsole_reply_len()
152 reply.len = len + 1; in mconsole_reply_len()
154 len = sizeof(reply) + reply.len - sizeof(reply.data); in mconsole_reply_len()
156 n = sendto(req->originating_fd, &reply, len, 0, in mconsole_reply_len()