netmon.h,v
来自「TCP-IP红宝书源代码」· H,V 代码 · 共 44 行
H,V
44 行
head 1.1;
access;
symbols;
locks
dls:1.1; strict;
comment @ * @;
1.1
date 97.09.21.19.26.19; author dls; state Dist;
branches;
next ;
desc
@@
1.1
log
@pre-3e code
@
text
@/* netmon.h */
#define ST_BPSIZE 128 /* station buffer pool size */
struct station {
int st_ifnum; /* interface number */
Eaddr st_ea; /* Station's Ethernet Address */
IPaddr st_ipa; /* Station's IP Address */
unsigned long st_scount; /* source packet count */
unsigned long st_dcount; /* destination packet count */
struct station *st_next; /* next station */
};
struct netmon {
int nm_mutex;
int nm_pool;
};
extern struct netmon Netmon;
@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?