diff options
author | Guillaume Subiron <maethor@subiron.org> | 2016-03-15 10:31:20 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-15 10:35:08 +0100 |
commit | 15d62af4b6068d1bac1806ca4625b6d4c475eb09 (patch) | |
tree | 17e76661234a309b56927de53f336a4e8bf8e598 /slirp/ip6_input.c | |
parent | fc6c9257c6dd47316a1c55d356bcd89bdc5fd642 (diff) | |
download | qemu-15d62af4b6068d1bac1806ca4625b6d4c475eb09.zip qemu-15d62af4b6068d1bac1806ca4625b6d4c475eb09.tar.gz qemu-15d62af4b6068d1bac1806ca4625b6d4c475eb09.tar.bz2 |
slirp: Adding IPv6 UDP support
This adds the sin6 case in the fhost and lhost unions and related macros.
It adds udp6_input() and udp6_output().
It adds the IPv6 case in sorecvfrom().
Finally, udp_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 'slirp/ip6_input.c')
-rw-r--r-- | slirp/ip6_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/ip6_input.c b/slirp/ip6_input.c index b6a438d..9ca6d32 100644 --- a/slirp/ip6_input.c +++ b/slirp/ip6_input.c @@ -58,7 +58,7 @@ void ip6_input(struct mbuf *m) icmp6_send_error(m, ICMP6_UNREACH, ICMP6_UNREACH_NO_ROUTE); break; case IPPROTO_UDP: - icmp6_send_error(m, ICMP6_UNREACH, ICMP6_UNREACH_NO_ROUTE); + udp6_input(m); break; case IPPROTO_ICMPV6: icmp6_input(m); |