Displaying 4 results from an estimated 4 matches for "tunnel_thread".
2009 Jun 08
2
[PATCH] few minor bugfixes
...ude <unistd.h>
@@ -46,9 +47,6 @@
/* constants */
-// port to try to listen on, if we can't, increment until we find one we can
-const int PORT_RANGE_START = 5600;
-
// max length of a vm name
const int VM_NAME_MAX_LEN = 250;
@@ -137,6 +135,8 @@ stop_tunnel(void)
static gpointer
tunnel_thread (gpointer _data)
{
+ struct hostent *dns_serv;
+
//char vm_data[VM_NAME_MAX_LEN];
int local_server_socketfd, ovirt_server_socket, client_socketfd;
unsigned int local_server_len, client_len, ovirt_server_len;
@@ -145,6 +145,9 @@ tunnel_thread (gpointer _data)
struct sockaddr_in ovirt_s...
2009 Jun 01
2
[PATCH viewer] few minor bugfixes
...ude <unistd.h>
@@ -46,9 +47,6 @@
/* constants */
-// port to try to listen on, if we can't, increment until we find one we can
-const int PORT_RANGE_START = 5600;
-
// max length of a vm name
const int VM_NAME_MAX_LEN = 250;
@@ -137,6 +135,8 @@ stop_tunnel(void)
static gpointer
tunnel_thread (gpointer _data)
{
+ struct hostent *dns_serv;
+
//char vm_data[VM_NAME_MAX_LEN];
int local_server_socketfd, ovirt_server_socket, client_socketfd;
unsigned int local_server_len, client_len, ovirt_server_len;
@@ -145,6 +145,9 @@ tunnel_thread (gpointer _data)
struct sockaddr_in ovirt_s...
2009 Jun 10
1
[PATCH] add cmd line option for server vnc port
...1d..17b512c 100644
--- a/tunnel.c
+++ b/tunnel.c
@@ -53,9 +53,6 @@ const int VM_NAME_MAX_LEN = 250;
// max length of vnc data
const int VNC_DATA_MAX_LEN = 800000;
-// port which to connect to on ovirt server
-const int OVIRT_SERVER_PORT = 5900;
-
/* Private thread functions */
static gpointer tunnel_thread(gpointer data);
static gpointer client_server_thread(gpointer data);
@@ -164,7 +161,7 @@ tunnel_thread (gpointer _data)
}
ovirt_server_address.sin_family = PF_INET;
ovirt_server_address.sin_addr.s_addr = ((struct in_addr*)(dns_serv->h_addr))->s_addr; //inet_addr(hostname);
- ovirt_...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
run on startup by default like the other ovirt services
---
conf/ovirt-vnc-proxy | 49 ++++++++
installer/modules/ovirt/manifests/ovirt.pp | 1 +
ovirt-server.spec.in | 5 +
src/vnc-proxy/vnc-proxy.rb | 167 ++++++++++++++++++++++++++++
4 files changed, 222 insertions(+), 0 deletions(-)
create mode 100755 conf/ovirt-vnc-proxy