Go to the documentation of this file.
32 #ifndef __LWIP_ICMP_H__
33 #define __LWIP_ICMP_H__
37 #include "lwip/ip_addr.h"
70 #ifdef PACK_STRUCT_USE_INCLUDES
71 # include "arch/bpstruct.h"
87 #ifdef PACK_STRUCT_USE_INCLUDES
88 # include "arch/epstruct.h"
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);