mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-08-27 11:29:21 +00:00
19 lines
324 B
C
19 lines
324 B
C
#ifndef __PING_H__
|
|
#define __PING_H__
|
|
|
|
/**
|
|
* PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used
|
|
*/
|
|
#ifndef PING_USE_SOCKETS
|
|
#define PING_USE_SOCKETS LWIP_SOCKET
|
|
#endif
|
|
|
|
|
|
void ping_init(void);
|
|
|
|
#if !PING_USE_SOCKETS
|
|
void ping_send_now(void);
|
|
#endif /* !PING_USE_SOCKETS */
|
|
|
|
#endif /* __PING_H__ */
|