mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-22 08:43:44 +08:00
Import lwIP contrib rep
... from http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/ into contrib/ subdir, STABLE-2_1_0_RELEASE tag lwIP contrib is now officially frozen TODO: Fix build
This commit is contained in:
19
contrib/apps/ping/ping.h
Normal file
19
contrib/apps/ping/ping.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef LWIP_PING_H
|
||||
#define LWIP_PING_H
|
||||
|
||||
#include "lwip/ip_addr.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(const ip_addr_t* ping_addr);
|
||||
|
||||
#if !PING_USE_SOCKETS
|
||||
void ping_send_now(void);
|
||||
#endif /* !PING_USE_SOCKETS */
|
||||
|
||||
#endif /* LWIP_PING_H */
|
||||
Reference in New Issue
Block a user