43 |
#include "lwip/stats.h" |
#include "lwip/stats.h" |
44 |
|
|
45 |
#include "lwip/snmp.h" |
#include "lwip/snmp.h" |
46 |
/*-----------------------------------------------------------------------------------*/ |
|
47 |
void |
void |
48 |
icmp_input(struct pbuf *p, struct netif *inp) |
icmp_input(struct pbuf *p, struct netif *inp) |
49 |
{ |
{ |
124 |
} |
} |
125 |
pbuf_free(p); |
pbuf_free(p); |
126 |
} |
} |
127 |
/*-----------------------------------------------------------------------------------*/ |
|
128 |
void |
void |
129 |
icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) |
icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) |
130 |
{ |
{ |
156 |
ICMP_TTL, 0, IP_PROTO_ICMP); |
ICMP_TTL, 0, IP_PROTO_ICMP); |
157 |
pbuf_free(q); |
pbuf_free(q); |
158 |
} |
} |
159 |
/*-----------------------------------------------------------------------------------*/ |
|
160 |
#if IP_FORWARD |
#if IP_FORWARD |
161 |
void |
void |
162 |
icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) |
icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) |