qemu-e2k/slirp
Guillaume Subiron 9dfbf250d2 slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff
Basically, this patch adds some switch in various TCP functions to
prepare them for the IPv6 case.

To have something to "switch" in tcp_input() and tcp_respond(), a new
argument is used to give them the sa_family of the addresses they are
working on.

This patch does not include the entailed reindentation, to make proofread
easier. Reindentation is adressed in the following no-op patch.

Signed-off-by: Guillaume Subiron <maethor@subiron.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
2016-03-15 10:35:14 +01:00
..
arp_table.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
bootp.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
bootp.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
cksum.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
COPYRIGHT Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
debug.h slirp: Cleanup and basic reanimation of debug code 2009-06-29 08:52:46 -05:00
dnssearch.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
if.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
if.h slirp: Factorizing tcpiphdr structure with an union 2016-03-15 10:35:11 +01:00
ip6_icmp.c slirp: Adding ICMPv6 error sending 2016-03-15 10:35:04 +01:00
ip6_icmp.h slirp: Adding ICMPv6 error sending 2016-03-15 10:35:04 +01:00
ip6_input.c slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
ip6_output.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
ip6.h slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
ip_icmp.c slirp: Fix ICMP error sending 2016-03-15 10:35:02 +01:00
ip_icmp.h slirp: Fix ICMP error sending 2016-03-15 10:35:02 +01:00
ip_input.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
ip_output.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
ip.h slirp: Avoid statements without effect on Big Endian host 2012-05-28 22:31:07 +02:00
libslirp.h slirp: set mainloop timeout with more precise value 2013-09-17 12:26:05 +02:00
main.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
Makefile.objs slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
mbuf.c slirp: Factorizing tcpiphdr structure with an union 2016-03-15 10:35:11 +01:00
mbuf.h slirp: Generalizing and neutralizing ARP code 2016-02-04 13:22:06 +08:00
misc.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
misc.h slirp/misc: Use the GLib memory allocation APIs 2014-08-24 13:16:32 +04:00
ndp_table.c slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration 2016-03-15 10:35:00 +01:00
sbuf.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
sbuf.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
slirp_config.h slirp/misc: Use the GLib memory allocation APIs 2014-08-24 13:16:32 +04:00
slirp.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
slirp.h slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
socket.c slirp: Factorizing tcpiphdr structure with an union 2016-03-15 10:35:11 +01:00
socket.h slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
tcp_input.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
tcp_output.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
tcp_subr.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
tcp_timer.c slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff 2016-03-15 10:35:14 +01:00
tcp_timer.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
tcp_var.h slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types 2010-07-25 16:59:41 +02:00
tcp.h slirp: Untangle TCPOLEN_* from TCPOPT_* 2012-05-28 13:45:33 +02:00
tcpip.h slirp: Factorizing tcpiphdr structure with an union 2016-03-15 10:35:11 +01:00
tftp.c slirp: Clean up includes 2016-02-04 17:41:30 +00:00
tftp.h Increase maximum number of session of the internal TFTP server. 2014-06-24 20:01:24 +04:00
udp6.c slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00
udp.c slirp: Fix ICMP error sending 2016-03-15 10:35:02 +01:00
udp.h slirp: Adding IPv6 UDP support 2016-03-15 10:35:08 +01:00