LwIP 2.2.1在STM32F407VET6平台 移植
This commit is contained in:
20
ThirdParty/lwip-2.2.1/contrib/apps/ping/ping.h
vendored
Normal file
20
ThirdParty/lwip-2.2.1/contrib/apps/ping/ping.h
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
#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);
|
||||
void ping_stop(void);
|
||||
|
||||
#if !PING_USE_SOCKETS
|
||||
void ping_send_now(void);
|
||||
#endif /* !PING_USE_SOCKETS */
|
||||
|
||||
#endif /* LWIP_PING_H */
|
||||
Reference in New Issue
Block a user