2014-05-20 10:28:00 +00:00
|
|
|
#ifndef LWIP_PING_H
|
|
|
|
#define LWIP_PING_H
|
2007-11-04 21:52:57 +00:00
|
|
|
|
2009-12-04 08:12:36 +00:00
|
|
|
/**
|
|
|
|
* PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used
|
|
|
|
*/
|
|
|
|
#ifndef PING_USE_SOCKETS
|
2009-12-06 10:01:48 +00:00
|
|
|
#define PING_USE_SOCKETS LWIP_SOCKET
|
2009-12-04 08:12:36 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2007-11-04 21:52:57 +00:00
|
|
|
void ping_init(void);
|
|
|
|
|
2009-12-04 08:12:36 +00:00
|
|
|
#if !PING_USE_SOCKETS
|
|
|
|
void ping_send_now(void);
|
|
|
|
#endif /* !PING_USE_SOCKETS */
|
2008-07-08 10:11:53 +00:00
|
|
|
|
2014-05-20 10:28:00 +00:00
|
|
|
#endif /* LWIP_PING_H */
|