qemu-e2k/slirp
Jan Kiszka 2ad82cf9e2 slirp: Fix port comparision in slirp_remove_hostfwd
For UDP host forwardings, fport is not stable, every outgoing packet of
the redirection can modify it. Use getsockname instead to look up the
port that is actually used on the host side.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29 08:52:45 -05:00
..
COPYRIGHT Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
bootp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
bootp.h slirp: Handle DHCP requests for specific IP (Jan Kiszka) 2009-04-21 19:56:20 +00:00
cksum.c Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
debug.c Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
debug.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
icmp_var.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
if.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
if.h Add const etc. to places forgotten from the previous commit 2007-10-26 19:34:46 +00:00
ip.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
ip_icmp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
ip_icmp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
ip_input.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
ip_output.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
libslirp.h slirp: Rework external configuration interface 2009-06-29 08:52:45 -05:00
main.h slirp: Rework external configuration interface 2009-06-29 08:52:45 -05:00
mbuf.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
mbuf.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
misc.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
misc.h slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
sbuf.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
sbuf.h Use const and static as needed, disable unused code 2007-10-26 19:01:16 +00:00
slirp.c slirp: Fix port comparision in slirp_remove_hostfwd 2009-06-29 08:52:45 -05:00
slirp.h slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
slirp_config.h Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
socket.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
socket.h Fix some win32 compile warnings 2009-04-05 18:03:31 +00:00
tcp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcp_input.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
tcp_output.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
tcp_subr.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
tcp_timer.c Use ANSI prototypes to please sparse 2009-04-18 07:32:41 +00:00
tcp_timer.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcp_var.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcpip.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tftp.c slirp: Move smb, redir, tftp and bootp parameters and -net channel 2009-06-29 08:52:44 -05:00
tftp.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
udp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
udp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00