qemu/net
Alexander Graf b412eb61bf slirp: add 'cmd:' target for guestfwd
When using guestfwd=, Qemu only connects the virtual server's TCP port
to a single chardev. This is useless in most cases, as we usually want
to have more than a single connection from the guest to the outside world.

This patch adds a new cmd: target to guestfwd= that allows for execution
of a command on every TCP connection. This leverages the same code as
the -smb parameter, just that here the command is user defined.

Reported-by: Sascha Wilde <wilde@intevation.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2012-07-09 17:38:13 +02:00
..
checksum.c Change license from GPLv2 to GPLv2+ 2012-02-01 16:24:54 -06:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
dump.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
dump.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
Makefile.objs build: move net/ objects to nested Makefile.objs 2012-06-07 09:21:13 +02:00
queue.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
queue.h net: move net-queue.[ch] under net/ 2009-10-30 08:39:26 -05:00
slirp.c slirp: add 'cmd:' target for guestfwd 2012-07-09 17:38:13 +02:00
slirp.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
socket.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
socket.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c do not include <libutil.h> needlessly or if it doesn't exist 2012-06-09 10:30:08 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c net: tap-linux: Fix unhelpful error message 2011-11-01 06:23:48 +00:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
tap-win32.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
tap.c qmp: include monitor.h when needed 2012-06-15 10:41:05 -03:00
tap.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00
vde.h net: purge the monitor object from all init functions 2012-06-04 13:49:35 -03:00