lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] DHCP works but ping doesn't reply (vincent cui)


From: Wolfgang Stich
Subject: Re: [lwip-users] DHCP works but ping doesn't reply (vincent cui)
Date: Thu, 1 Sep 2011 07:12:37 +0000

Furthermore, i realized, no socket connection works, but dhcp works?

My ICMP options:

/*
   ----------------------------------
   ---------- ICMP options ----------
   ----------------------------------
*/
/**
* LWIP_ICMP==1: Enable ICMP module inside the IP stack.
* Be careful, disable that make your product non-compliant to RFC1122
*/
#ifndef LWIP_ICMP
#define LWIP_ICMP                       1
#endif

/**
* ICMP_TTL: Default value for Time-To-Live used by ICMP packets.
*/
#ifndef ICMP_TTL
#define ICMP_TTL                       (IP_DEFAULT_TTL)
#endif

/**
* LWIP_BROADCAST_PING==1: respond to broadcast pings (default is unicast only)
*/
#ifndef LWIP_BROADCAST_PING
#define LWIP_BROADCAST_PING             1
#endif

/**
* LWIP_MULTICAST_PING==1: respond to multicast pings (default is unicast only)
*/
#ifndef LWIP_MULTICAST_PING
#define LWIP_MULTICAST_PING             1
#endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]