diff options
author | Guillaume Subiron <maethor@subiron.org> | 2016-03-15 10:31:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-15 10:35:19 +0100 |
commit | d1ba8f8e3720f0413f4f4f585cc633899d35b1db (patch) | |
tree | a364eadc9386060e7706d669f30510044060b4c5 /tcp.h | |
parent | bd2439df23cf6156af944e83a41cd973747c375c (diff) | |
download | slirp-d1ba8f8e3720f0413f4f4f585cc633899d35b1db.zip slirp-d1ba8f8e3720f0413f4f4f585cc633899d35b1db.tar.gz slirp-d1ba8f8e3720f0413f4f4f585cc633899d35b1db.tar.bz2 |
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>
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -107,6 +107,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 */ |