qemu-e2k/net
Vincent Bernat 0bed71edbc slirp: allow host port 0 for hostfwd
The OS will allocate automatically a free port. This is useful if you
want to be sure to not get any port conflict. You still have to figure
out which port you got, for example with "lsof" (this could be exposed
in the monitor if needed).

Example of use:

     $ qemu-system-x86_64 -net user,hostfwd=127.0.0.1:0-:22 ...

Then, get your port with:

     $ lsof -np 1474 | grep LISTEN
     qemu-syst 31777 bernat 12u IPv4 [...] TCP 127.0.0.1:35145 (LISTEN)

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2017-04-29 18:29:58 +02:00
..
checksum.c net: optimize checksum computation 2017-01-20 10:36:38 +08:00
clients.h
colo-compare.c Revert "COLO-compare: Optimize tcp compare trace event" 2017-04-26 16:19:27 +01:00
colo.c net/colo: fix memory double free error 2017-03-06 11:46:02 +08:00
colo.h filter-rewriter: rewrite tcp packet to keep secondary connection 2016-09-27 17:54:22 +08:00
dump.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
eth.c eth: Extend vlan stripping functions 2017-03-06 11:46:02 +08:00
filter-buffer.c
filter-mirror.c net/filter-mirror: Follow CODING_STYLE 2017-03-06 11:46:02 +08:00
filter-replay.c record/replay: add network support 2017-01-06 10:38:00 +08:00
filter-rewriter.c filter-rewriter: skip net_checksum_calculate() while offset = 0 2017-03-06 11:46:02 +08:00
filter.c qtail: clean up direct access to tqe_prev field 2016-09-13 19:08:41 +02:00
hub.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
hub.h
l2tpv3.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
Makefile.objs record/replay: add network support 2017-01-06 10:38:00 +08:00
net.c net: Flatten simple union NetLegacyOptions 2017-02-22 19:50:52 +01:00
netmap.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
queue.c
slirp.c slirp: allow host port 0 for hostfwd 2017-04-29 18:29:58 +02:00
socket.c socket: Make errp the last parameter of socket_connect 2017-04-24 09:12:59 +02:00
tap_int.h
tap-aix.c
tap-bsd.c tap-bsd: OpenBSD uses tap(4) now 2016-10-26 09:57:59 +08:00
tap-haiku.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-win32.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
tap.c -----BEGIN PGP SIGNATURE----- 2017-01-20 14:56:40 +00:00
trace-events Revert "COLO-compare: Optimize tcp compare trace event" 2017-04-26 16:19:27 +01:00
util.c
util.h
vde.c qapi: Change Netdev into a flat union 2016-07-19 20:18:02 +02:00
vhost-user.c vhost-user: delay vhost_user_stop 2017-02-28 19:11:15 +00:00