TuyaOS
结构体 | 宏定义 | 常量
icmp.h 文件参考
#include "lwip/arch.h"
icmp.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  icmp_echo_hdr
 

宏定义

#define ICMP_AM   17 /* address mask request */
 
#define ICMP_AMR   18 /* address mask reply */
 
#define ICMP_DUR   3 /* destination unreachable */
 
#define ICMP_ECHO   8 /* echo */
 
#define ICMP_ER   0 /* echo reply */
 
#define ICMP_IR   16 /* information reply */
 
#define ICMP_IRQ   15 /* information request */
 
#define ICMP_PP   12 /* parameter problem */
 
#define ICMP_RD   5 /* redirect */
 
#define ICMP_SQ   4 /* source quench */
 
#define ICMP_TE   11 /* time exceeded */
 
#define ICMP_TS   13 /* timestamp */
 
#define ICMP_TSR   14 /* timestamp reply */
 
#define ICMPH_CODE(hdr)   ((hdr)->code)
 
#define ICMPH_CODE_SET(hdr, c)   ((hdr)->code = (c))
 
#define ICMPH_TYPE(hdr)   ((hdr)->type)
 
#define ICMPH_TYPE_SET(hdr, t)   ((hdr)->type = (t))
 

常量

PACK_STRUCT_BEGIN struct icmp_echo_hdr PACK_STRUCT_STRUCT
 

详细描述

ICMP protocol definitions