On 14.02.2016 18:47, Samuel Thibault wrote: > From: Yann Bordenave <m...@meowstars.org> > > Disambiguation : icmp_error is renamed into icmp_send_error, since it > doesn't manage errors, but only sends ICMP Error messages. > > 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 <m...@meowstars.org> > Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> > --- > slirp/ip6_icmp.c | 64 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > slirp/ip6_icmp.h | 10 +++++++++ > slirp/ip6_input.c | 13 ++++++----- > slirp/ip_icmp.c | 12 +++++------ > slirp/ip_icmp.h | 4 ++-- > slirp/ip_input.c | 8 +++---- > slirp/socket.c | 4 ++-- > slirp/tcp_input.c | 2 +- > slirp/udp.c | 3 ++- > 9 files changed, 99 insertions(+), 21 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>