Searched refs:sock_fd (Results 1 – 3 of 3) sorted by relevance
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_comm.c | 69 int sock_fd; in do_tcp() local 73 sock_fd = socket(PF_INET, SOCK_STREAM, 0); in do_tcp() 74 if (sock_fd < 0) { in do_tcp() 81 setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, (char *)&tmp,sizeof(tmp)); in do_tcp() 88 if (bind(sock_fd, (struct sockaddr *) &sockaddr, sizeof (sockaddr)) in do_tcp() 89 || listen (sock_fd, 1)) { in do_tcp() 91 close(sock_fd); in do_tcp() 97 remote_fd = accept(sock_fd, (struct sockaddr *) &sockaddr, &tmp); in do_tcp() 100 close(sock_fd); in do_tcp() 106 setsockopt(sock_fd, SOL_SOCKET, SO_KEEPALIVE, (char *)&tmp,sizeof(tmp)); in do_tcp() [all …]
|
/xen/tools/libxl/ |
A D | libxl_colo_proxy.c | 74 ret = sendmsg(cps->sock_fd, &mh, 0); in colo_proxy_send() 96 ret = send(cps->sock_fd, (uint8_t *)buff, size, 0); in colo_userspace_proxy_send() 134 ret = recv(cps->sock_fd, buff, size, 0); in colo_userspace_proxy_recv() 169 ret = recvmsg(cps->sock_fd, &mh, 0); in colo_proxy_recv() 236 cps->sock_fd = skfd; in colo_proxy_setup() 262 cps->sock_fd = skfd; in colo_proxy_setup() 319 close(cps->sock_fd); in colo_proxy_setup() 320 cps->sock_fd = -1; in colo_proxy_setup() 334 if (cps->sock_fd >= 0) { in colo_proxy_teardown() 335 close(cps->sock_fd); in colo_proxy_teardown() [all …]
|
A D | libxl_colo.h | 65 int sock_fd; member
|
Completed in 4 milliseconds