📄 icmp.h
字号:
#ifndef __ICMP_H__
#define __ICMP_H__
#define ICMP_ECHO 8
#define ICMP_ECHOREPLY 0
#define ICMP_MIN 8 // minimum 8 byte icmp packet (just header)
typedef struct _ICMP_HEADER
{
unsigned char IcmpType;
unsigned char IcmpCode; // Type sub code
unsigned short IcmpChecksum;
unsigned short IcmpId;
unsigned short IcmpSeq;
unsigned long IcmpTimestamp; // Not standard field in header, but reserved nonetheless
}ICMP_HEADER, *PICMP_HEADER;
#endif //__ICMP_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -