📄 tcptable.h
字号:
/* * TCP MIB group interface - tcp.h * */#ifndef _MIBGROUP_TCPTABLE_H#define _MIBGROUP_TCPTABLE_H#ifdef linuxstruct inpcb { struct inpcb *inp_next; /* pointers to other pcb's */ struct in_addr inp_faddr; /* foreign host table entry */ u_short inp_fport; /* foreign port */ struct in_addr inp_laddr; /* local host table entry */ u_short inp_lport; /* local port */ int inp_state; int uid; /* owner of the connection */};#endif#ifdef hpux11#include <sys/mib.h>#endif#ifndef solaris2#if !defined(linux) && !defined(hpux11)extern int TCP_Count_Connections (void);#endifextern void TCP_Scan_Init (void);#ifdef hpux11extern int TCP_Scan_Next (mib_tcpConnEnt *);#elsestruct inpcb;extern int TCP_Scan_Next (int *, struct inpcb *);#endif#endifconfig_arch_require(solaris2, kernel_sunos5)config_require(mibII/tcp util_funcs)extern FindVarMethod var_tcpEntry;#endif /* _MIBGROUP_TCPTABLE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -