xref: /linux/include/uapi/linux/netfilter/xt_state.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _XT_STATE_H
3 #define _XT_STATE_H
4 
5 #define XT_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
6 #define XT_STATE_INVALID (1 << 0)
7 
8 #define XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1))
9 
10 struct xt_state_info {
11 	unsigned int statemask;
12 };
13 #endif /*_XT_STATE_H*/
14