search for: recv_fd

Displaying 5 results from an estimated 5 matches for "recv_fd".

Did you mean: recv_cb
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...message->cmsg_len = CMSG_LEN(sizeof(int)); + + *((int *) CMSG_DATA(control_message)) = fd_to_send; + + message.msg_controllen = control_message->cmsg_len; + + do ret = sendmsg(socket, &message, 0); + while (ret == -1 && (errno == EINTR || errno == EAGAIN)); + return ret; +} + +int recv_fd(int socket) +{ + struct msghdr message; + struct iovec iov[1]; + struct cmsghdr *control_message = NULL; + char buffer[CMSG_SPACE(sizeof(int))], data[1]; + int ret; + + memset(&message, 0, sizeof(struct msghdr)); + memset(buffer, 0, CMSG_SPACE(sizeof(int))); + + iov[0].iov_base = data; + iov[0]...
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 Nov 02
2
Remus: Xen 4.2.1 with Debian 6.0 does not work
_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...ctx *ctx, uint32_t domid, int suspend_cancel, + const libxl_asyncop_how *ao_how) + LIBXL_EXTERNAL_CALLERS_ONLY; int libxl_domain_remus_start(libxl_ctx *ctx, libxl_domain_remus_info *info, uint32_t domid, int send_fd, int recv_fd, diff -r 30bf79cc14d9 -r 7cec0543f67c tools/libxl/libxl_dom.c --- a/tools/libxl/libxl_dom.c Wed Aug 15 14:45:21 2012 +0100 +++ b/tools/libxl/libxl_dom.c Wed Aug 15 16:58:21 2012 +0100 @@ -1121,7 +1121,7 @@ static int libxl__remus_domain_resume_ca STATE_AO_GC(dss->ao); /* Resumes the...
2013 Oct 21
36
[PATCH 0 of 5 V3] Remus/Libxl: Network buffering support
This patch series adds support for network buffering in the Remus codebase in libxl. Changes in V3: [1/5] Fix redundant checks in configure scripts (based on Ian Campbell''s suggestions) [2/5] Introduce locking in the script, during IFB setup. Add xenstore paths used by netbuf scripts to xenstore-paths.markdown [3/5] Hotplug scripts setup/teardown invocations are now