aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip_icmp.h
diff options
context:
space:
mode:
authorYann Bordenave <meow@meowstars.org>2016-03-15 10:31:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-15 10:35:02 +0100
commitde40abfecfe17f79870a66acfc1f87a53fc066ca (patch)
tree60f52f09ae1b597eddf3d31dd8c028752275d2ce /slirp/ip_icmp.h
parent0d6ff71ae3c7ac3a446d295ef71884a05093b37c (diff)
downloadqemu-de40abfecfe17f79870a66acfc1f87a53fc066ca.zip
qemu-de40abfecfe17f79870a66acfc1f87a53fc066ca.tar.gz
qemu-de40abfecfe17f79870a66acfc1f87a53fc066ca.tar.bz2
slirp: Fix ICMP error sending
Disambiguation : icmp_error is renamed into icmp_send_error, since it doesn't manage errors, but only sends ICMP Error messages. 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>
Diffstat (limited to 'slirp/ip_icmp.h')
-rw-r--r--slirp/ip_icmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/ip_icmp.h b/slirp/ip_icmp.h
index be4426b..846761d 100644
--- a/slirp/ip_icmp.h
+++ b/slirp/ip_icmp.h
@@ -156,8 +156,8 @@ struct icmp {
void icmp_init(Slirp *slirp);
void icmp_cleanup(Slirp *slirp);
void icmp_input(struct mbuf *, int);
-void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
- const char *message);
+void icmp_send_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
+ const char *message);
void icmp_reflect(struct mbuf *);
void icmp_receive(struct socket *so);
void icmp_detach(struct socket *so);