Ping sender module.
#include "lwip/ip_addr.h"
Macros | |
#define | PING_USE_SOCKETS LWIP_SOCKET |
PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used. More... | |
Functions | |
void | ping_function (char *addr, u32_t u32PingCount) |
#define PING_USE_SOCKETS LWIP_SOCKET |
PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used.
References AF_INET, close, ERR_OK, inet_pton, ip_addr_debug_print, IP_PROTO_ICMP, LWIP_DEBUGF, lwip_setsockopt(), lwip_socket(), osprintf(), PING_DEBUG, PING_DELAY, PING_RCV_TIMEO, ping_recv(), ping_send(), ping_time, SO_RCVTIMEO, SOCK_RAW, SOL_SOCKET, sys_msleep(), sys_now(), and timeout.