ip6t_multiport.h

来自「用于构建linux/unix下的网络防火墙,是网络安全中经常使用的小工具」· C头文件 代码 · 共 31 行

H
31
字号
#ifndef _IP6T_MULTIPORT_H#define _IP6T_MULTIPORT_Henum ip6t_multiport_flags{	IP6T_MULTIPORT_SOURCE,	IP6T_MULTIPORT_DESTINATION,	IP6T_MULTIPORT_EITHER};#define IP6T_MULTI_PORTS	15/* Must fit inside union xt_matchinfo: 16 bytes */struct ip6t_multiport{	u_int8_t flags;				/* Type of comparison */	u_int8_t count;				/* Number of ports */	u_int16_t ports[IP6T_MULTI_PORTS];	/* Ports */};struct ip6t_multiport_v1{	u_int8_t flags;				/* Type of comparison */	u_int8_t count;				/* Number of ports */	u_int16_t ports[IP6T_MULTI_PORTS];	/* Ports */	u_int8_t pflags[IP6T_MULTI_PORTS];	/* Port flags */	u_int8_t invert;			/* Invert flag */};#endif /*_IP6T_MULTIPORT_H*/

⌨️ 快捷键说明

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