icmp.h
来自「用单片机实现GPRS modem通讯的源程序,实现了ppp拨号,tcp/udp等」· C头文件 代码 · 共 37 行
H
37 行
/*/////////////////////////////////////////////////////////////////////////////
File Name : Icmp.h
Author : Rene Trenado
Location : Motorola Applications Lab, Baja California
Date Created : January 2001
Current Revision : 0.0
Notes : This file contains Icmp module specific definitions
/////////////////////////////////////////////////////////////////////////////*/
#ifndef __ICMP_H
#define __ICMP_H
#include "Notation.h"
typedef struct {
BYTE Type;
BYTE Code;
WORD Checksum;
WORD Identifier;
WORD SeqNumber;
} ICMPDatagram;
#define ECHO 8
#define ECHO_REPLY 0
#define TRACEROUTE 30
void IcmpHandler (IPDatagram *ip);
void IcmpPing (BYTE Ip[]);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?