slirp: Adding ICMPv6 error sending
commitfc6c9257c6dd47316a1c55d356bcd89bdc5fd642
authorYann Bordenave <meow@meowstars.org>
Tue, 15 Mar 2016 09:31:19 +0000 (15 10:31 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 15 Mar 2016 09:35:04 +0000 (15 10:35 +0100)
treea3a46ef4bd2c113b7a90167c7b41b6dd1c81a02c
parentde40abfecfe17f79870a66acfc1f87a53fc066ca
slirp: Adding ICMPv6 error sending

Adding icmp6_send_error to send ICMPv6 Error messages. This function is
simpler than the v4 version.
Adding some calls in various functions to send ICMP errors, when a
received packet is too big, or when its hop limit is 0.

Signed-off-by: Yann Bordenave <meow@meowstars.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
slirp/ip6_icmp.c
slirp/ip6_icmp.h
slirp/ip6_input.c