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

📄 ip_io.h

📁 操作系统源代码
💻 H
字号:
/*server/ip/gen/ip_io.h*/#ifndef __SERVER__IP__GEN__IP_IO_H__#define __SERVER__IP__GEN__IP_IO_H__typedef struct nwio_ipconf{	u32_t	nwic_flags;	ipaddr_t nwic_ipaddr;	ipaddr_t nwic_netmask;} nwio_ipconf_t;#define NWIC_NOFLAGS		0x0#define NWIC_FLAGS		0x3#	define NWIC_IPADDR_SET		0x1#	define NWIC_NETMASK_SET		0x2typedef struct nwio_ipopt{	u32_t nwio_flags;	ipaddr_t nwio_rem;	ip_hdropt_t nwio_hdropt;	u8_t nwio_tos;	u8_t nwio_ttl;	u8_t nwio_df;	ipproto_t nwio_proto;} nwio_ipopt_t;#define NWIO_NOFLAGS	0x0000l#define NWIO_ACC_MASK	0x0003l#	define NWIO_EXCL	0x00000001l#	define NWIO_SHARED	0x00000002l#	define NWIO_COPY	0x00000003l#define NWIO_LOC_MASK	0x0010l#	define NWIO_EN_LOC	0x00000010l#	define NWIO_DI_LOC	0x00100000l#define NWIO_BROAD_MASK	0x0020l#	define NWIO_EN_BROAD	0x00000020l#	define NWIO_DI_BROAD	0x00200000l#define NWIO_REM_MASK	0x0100l#	define NWIO_REMSPEC	0x00000100l#	define NWIO_REMANY	0x01000000l#define NWIO_PROTO_MASK	0x0200l#	define NWIO_PROTOSPEC	0x00000200l#	define NWIO_PROTOANY	0x02000000l#define NWIO_HDR_O_MASK	0x0400l#	define NWIO_HDR_O_SPEC	0x00000400l#	define NWIO_HDR_O_ANY	0x04000000l#define NWIO_RW_MASK	0x1000l#	define NWIO_RWDATONLY	0x00001000l#	define NWIO_RWDATALL	0x10000000l#endif /* __SERVER__IP__GEN__IP_IO_H__ */

⌨️ 快捷键说明

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