slirp: Handle IPv6 in TCP functions
commit3feea4447f1b9b04816ee6977b5ecc0eb704e07a
authorGuillaume Subiron <maethor@subiron.org>
Tue, 15 Mar 2016 09:31:21 +0000 (15 10:31 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 15 Mar 2016 09:35:19 +0000 (15 10:35 +0100)
treefc7a5cb36318171ffd51c4698a5517429b9a9e55
parent1252cf40a83ed91e0ee30cc5f206ce9372c640d8
slirp: Handle IPv6 in TCP functions

This patch adds IPv6 case in TCP functions refactored by the last
patches.
This also adds IPv6 pseudo-header in tcpiphdr structure.
Finally, tcp_input() is called by ip6_input().

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>
slirp/ip6_input.c
slirp/tcp.h
slirp/tcp_input.c
slirp/tcp_output.c
slirp/tcp_subr.c
slirp/tcpip.h