Integrate "task #7272 : LWIP_ICMP option". The new option LWIP_ICMP enable/disable ICMP module inside the IP stack (enable per default). Be careful, disabling ICMP make your product non-compliant to RFC1122, but help to reduce footprint, and to reduce "visibility" on the Internet.

This commit is contained in:
fbernon
2007-09-05 17:20:45 +00:00
parent 90a3f88c08
commit ca866c0d7d
9 changed files with 44 additions and 10 deletions

View File

@@ -39,6 +39,8 @@
#include "lwip/netif.h"
#if LWIP_ICMP /* don't build if not configured for use in lwipopts.h */
#ifdef __cplusplus
extern "C" {
#endif
@@ -94,5 +96,7 @@ struct icmp_te_hdr {
}
#endif
#endif /* LWIP_ICMP */
#endif /* __LWIP_ICMP_H__ */