Searched refs:sockaddr (Results 1 – 11 of 11) sorted by relevance
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_comm.c | 67 struct sockaddr_in sockaddr; in do_tcp() local 83 memset(&sockaddr, 0, sizeof(sockaddr)); in do_tcp() 84 sockaddr.sin_family = PF_INET; in do_tcp() 85 sockaddr.sin_port = htons (port); in do_tcp() 86 sockaddr.sin_addr.s_addr = INADDR_ANY; in do_tcp() 88 if (bind(sock_fd, (struct sockaddr *) &sockaddr, sizeof (sockaddr)) in do_tcp() 96 tmp = sizeof(sockaddr); in do_tcp() 97 remote_fd = accept(sock_fd, (struct sockaddr *) &sockaddr, &tmp); in do_tcp() 120 printf("Remote debugging from host %s\n", inet_ntoa(sockaddr.sin_addr)); in do_tcp()
|
/xen/tools/ocaml/xenstored/ |
A D | utils.ml | 78 let sockaddr = Unix.ADDR_UNIX(name) in 80 Unix.bind sock sockaddr;
|
/xen/tools/libvchan/ |
A D | vchan-socket-proxy.c | 171 if (connect(fd, (const struct sockaddr *)&addr, sizeof(addr)) == -1) { in connect_socket() 207 if (bind(fd, (const struct sockaddr *)&addr, sizeof(addr)) == -1) { in listen_socket()
|
/xen/tools/libxl/ |
A D | libxl_colo_proxy.c | 238 if (connect(skfd, (struct sockaddr *)&addr, sizeof(addr)) < 0) { in colo_proxy_setup() 274 ret = bind(skfd, (struct sockaddr *)&sa, sizeof(sa)); in colo_proxy_setup()
|
A D | libxl_qmp.c | 359 ret = connect(qmp->qmp_fd, (struct sockaddr *) &addr, sizeof(addr)); in qmp_open() 1331 (struct sockaddr *) &un, sizeof(un)); in qmp_ev_lock_aquired()
|
A D | libxl_dm.c | 1147 r = bind(fd, (struct sockaddr *) &un, sizeof(un)); in libxl__pre_open_qmp_socket()
|
/xen/tools/ocaml/libs/xs/ |
A D | xs.ml | 157 let sockaddr = Unix.ADDR_UNIX(daemon_socket) in 159 Unix.connect sock sockaddr;
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_qmp.c | 352 if (connect(s, (struct sockaddr *)&sun, SUN_LEN(&sun)) < 0) { in qmp_connect()
|
/xen/tools/xenstore/ |
A D | xenstored_core.c | 1916 if (bind(sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) in init_sockets() 1922 if (bind(ro_sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) in init_sockets()
|
A D | xs.c | 214 if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) in get_socket()
|
/xen/docs/misc/ |
A D | pvcalls.pandoc | 825 struct sockaddr {
|
Completed in 31 milliseconds