hostx.h

来自「嵌入式RMON,RMON为Remote monitor的缩写,基于SNMP为网络」· C头文件 代码 · 共 41 行

H
41
字号
/* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group *//* See file COPYING 'GNU General Public Licence' for copyright details   */#ifndef _HOSTX_H#define _HOSTX_H#include <dnpap.h>#define HOST_SIZE_ADDR    	6	/* maximum of address sizes shown below */#define ETH_SIZE_ADDR       6typedef struct _HOST{    BYTE        Address[HOST_SIZE_ADDR];    ULONG       InPkts;    ULONG       OutPkts;    ULONG       InOctets;    ULONG       OutOctets;    ULONG       OutErrors;    ULONG       OutBroadcastPkts;    ULONG       OutMulticastPkts;    struct _HOST  *LexPrev;    struct _HOST  *LexNext;	struct _HOST  *TimePrev;    	struct _HOST  *TimeNext;            struct _HOST  *LRUPrev;    struct _HOST  *LRUNext;        struct _HOST  **TimeListPtr;    } HOST;#endif

⌨️ 快捷键说明

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