#ifndef _XT_TCPUDP_H
#define _XT_TCPUDP_H
#include <linux/types.h>
struct xt_tcp {
__u16 spts[2];
__u16 dpts[2];
__u8 option;
__u8 flg_mask;
__u8 flg_cmp;
__u8 invflags;
};
#define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
#define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
#define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */
#define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */
#define XT_TCP_INV_MASK 0x0F /* All possible flags. */
struct xt_udp {
__u16 spts[2];
__u16 dpts[2];
__u8 invflags;
};
#define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
#define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
#define XT_UDP_INV_MASK 0x03 /* All possible flags. */
#endif