icmp.h

来自「该程序类似于tcpdump软件」· C头文件 代码 · 共 31 行

H
31 行
字号
/**************************************************************************** 
** File: icmp.h
**
** Author: Mike Borella
**
** Comments: Generic ICMP header format for fixed portion
**
** $Log: icmp.h,v $
** Revision 1.2  1998/06/12 20:49:36  mborella
** Added log tag
**
**
*****************************************************************************/


typedef struct _ICMPhdr
{
  u_int8_t type;
  u_int8_t code;
  u_int16_t csum;
} ICMPhdr;


typedef struct _echoext
{
  u_int16_t id;
  u_int16_t seqno;
} echoext;

void dump_icmp(u_char *bp);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?