⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcp_io.h

📁 操作系统源代码
💻 H
字号:
/*server/ip/gen/tcp_io.h*/#ifndef __SERVER__IP__GEN__TCP_IO_H__#define __SERVER__IP__GEN__TCP_IO_H__typedef struct nwio_tcpconf{	u32_t nwtc_flags;	ipaddr_t nwtc_locaddr;	ipaddr_t nwtc_remaddr;	tcpport_t nwtc_locport;	tcpport_t nwtc_remport;} nwio_tcpconf_t;#define NWTC_NOFLAGS	0x0000L#define NWTC_ACC_MASK	0x0003L#	define NWTC_EXCL	0x00000001L#	define NWTC_SHARED	0x00000002L#	define NWTC_COPY	0x00000003L#define NWTC_LOCPORT_MASK	0x0030L#	define NWTC_LP_UNSET	0x00000010L#	define NWTC_LP_SET	0x00000020L#	define NWTC_LP_SEL	0x00000030L#define NWTC_REMADDR_MASK	0x0100L#	define NWTC_SET_RA	0x00000100L#	define NWTC_UNSET_RA	0x01000000L#define NWTC_REMPORT_MASK	0x0200L#	define NWTC_SET_RP	0x00000200L#	define NWTC_UNSET_RP	0x02000000Ltypedef struct nwio_tcpcl{	long nwtcl_flags;	long nwtcl_ttl;} nwio_tcpcl_t;typedef struct nwio_tcpatt{	long nwta_flags;} nwio_tcpatt_t;typedef struct nwio_tcpopt{	long nwto_flags;} nwio_tcpopt_t;#endif /* __SERVER__IP__GEN__TCP_IO_H__ */

⌨️ 快捷键说明

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