Warning: This file is not a C or C++ file. It does not have highlighting.

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
10struct xt_state_info {
11 unsigned int statemask;
12};
13#endif /*_XT_STATE_H*/
14

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/uapi/linux/netfilter/xt_state.h