Revision 7ccfb2eb slirp/ip_icmp.c
b/slirp/ip_icmp.c | ||
---|---|---|
207 | 207 |
|
208 | 208 |
#define ICMP_MAXDATALEN (IP_MSS-28) |
209 | 209 |
void |
210 |
icmp_error(msrc, type, code, minsize, message) |
|
211 |
struct mbuf *msrc; |
|
212 |
u_char type; |
|
213 |
u_char code; |
|
214 |
int minsize; |
|
215 |
char *message; |
|
210 |
icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize, |
|
211 |
const char *message) |
|
216 | 212 |
{ |
217 | 213 |
unsigned hlen, shlen, s_ip_len; |
218 | 214 |
register struct ip *ip; |
Also available in: Unified diff