42 |
|
|
43 |
#include "lwip/stats.h" |
#include "lwip/stats.h" |
44 |
|
|
45 |
/*-----------------------------------------------------------------------------------*/ |
|
46 |
void |
void |
47 |
icmp_input(struct pbuf *p, struct netif *inp) |
icmp_input(struct pbuf *p, struct netif *inp) |
48 |
{ |
{ |
113 |
|
|
114 |
pbuf_free(p); |
pbuf_free(p); |
115 |
} |
} |
116 |
/*-----------------------------------------------------------------------------------*/ |
|
117 |
void |
void |
118 |
icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) |
icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) |
119 |
{ |
{ |
143 |
(struct ip_addr *)&(iphdr->src), ICMP_TTL, IP_PROTO_ICMP); |
(struct ip_addr *)&(iphdr->src), ICMP_TTL, IP_PROTO_ICMP); |
144 |
pbuf_free(q); |
pbuf_free(q); |
145 |
} |
} |
146 |
/*-----------------------------------------------------------------------------------*/ |
|
147 |
void |
void |
148 |
icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) |
icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) |
149 |
{ |
{ |