mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
1252cf40a8
commit
3feea4447f
6 changed files with 125 additions and 9 deletions
|
@ -106,6 +106,8 @@ struct tcphdr {
|
|||
*/
|
||||
#undef TCP_MSS
|
||||
#define TCP_MSS 1460
|
||||
#undef TCP6_MSS
|
||||
#define TCP6_MSS 1440
|
||||
|
||||
#undef TCP_MAXWIN
|
||||
#define TCP_MAXWIN 65535 /* largest value for (unscaled) window */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue