32 #ifndef __LWIP_ICMP_H__ 33 #define __LWIP_ICMP_H__ 37 #include "lwip/ip_addr.h" 70 #ifdef PACK_STRUCT_USE_INCLUDES 87 #ifdef PACK_STRUCT_USE_INCLUDES 91 #define ICMPH_TYPE(hdr) ((hdr)->type) 92 #define ICMPH_CODE(hdr) ((hdr)->code) 95 #define ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t)) 96 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c)) 101 void icmp_input(
struct pbuf *
p,
struct netif *inp);
PACK_STRUCT_FIELD(u8_t type)
PACK_STRUCT_BEGIN struct icmp_echo_hdr PACK_STRUCT_STRUCT
#define PACK_STRUCT_BEGIN
static u32_t chksum(void *dataptr, u16_t len)
GLuint GLuint GLsizei GLenum type