On 11/16/10 02:16, Michael Roth wrote:
> +/* read handler for proxied connections */
> +static void vp_conn_read(void *opaque)
> +{
> +VPConn *conn = opaque;
> +VPDriver *drv = conn->drv;
> +VPPacket pkt;
> +char buf[VP_CONN_DATA_LEN];
> +int fd, count, ret;
> +bool client;
reads data from client/server connections as they become readable, then
sends the data over the channel
Signed-off-by: Michael Roth
---
virtproxy.c | 114 +++
virtproxy.h |1 +
2 files changed, 115 insertions(+), 0 deletions(-)
diff -