Home
last modified time | relevance | path

Searched refs:sockaddr (Results 1 – 11 of 11) sorted by relevance

/xen/tools/debugger/gdbsx/gx/
A Dgx_comm.c67 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 Dutils.ml78 let sockaddr = Unix.ADDR_UNIX(name) in
80 Unix.bind sock sockaddr;
/xen/tools/libvchan/
A Dvchan-socket-proxy.c171 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 Dlibxl_colo_proxy.c238 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 Dlibxl_qmp.c359 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 Dlibxl_dm.c1147 r = bind(fd, (struct sockaddr *) &un, sizeof(un)); in libxl__pre_open_qmp_socket()
/xen/tools/ocaml/libs/xs/
A Dxs.ml157 let sockaddr = Unix.ADDR_UNIX(daemon_socket) in
159 Unix.connect sock sockaddr;
/xen/tools/xenstat/libxenstat/src/
A Dxenstat_qmp.c352 if (connect(s, (struct sockaddr *)&sun, SUN_LEN(&sun)) < 0) { in qmp_connect()
/xen/tools/xenstore/
A Dxenstored_core.c1916 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 Dxs.c214 if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) in get_socket()
/xen/docs/misc/
A Dpvcalls.pandoc825 struct sockaddr {

Completed in 31 milliseconds