/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#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	
#define XT_TCP_INV_DSTPT	0x02	
#define XT_TCP_INV_FLAGS	0x04	
#define XT_TCP_INV_OPTION	0x08	
#define XT_TCP_INV_MASK		0x0F	


struct xt_udp {
	__u16 spts[2];			
	__u16 dpts[2];			
	__u8 invflags;			
};


#define XT_UDP_INV_SRCPT	0x01	
#define XT_UDP_INV_DSTPT	0x02	
#define XT_UDP_INV_MASK	0x03	


#endif
