X7ROOT File Manager
Current Path:
/usr/include/linux/netfilter
usr
/
include
/
linux
/
netfilter
/
📁
..
📁
ipset
📄
nf_conntrack_common.h
(4.48 KB)
📄
nf_conntrack_ftp.h
(438 B)
📄
nf_conntrack_sctp.h
(576 B)
📄
nf_conntrack_tcp.h
(1.38 KB)
📄
nf_conntrack_tuple_common.h
(896 B)
📄
nf_log.h
(538 B)
📄
nf_nat.h
(1.49 KB)
📄
nf_osf.h
(1.9 KB)
📄
nf_tables.h
(48.24 KB)
📄
nf_tables_compat.h
(731 B)
📄
nfnetlink.h
(2.37 KB)
📄
nfnetlink_acct.h
(900 B)
📄
nfnetlink_compat.h
(2.39 KB)
📄
nfnetlink_conntrack.h
(6.02 KB)
📄
nfnetlink_cthelper.h
(1.17 KB)
📄
nfnetlink_cttimeout.h
(2.86 KB)
📄
nfnetlink_log.h
(2.73 KB)
📄
nfnetlink_queue.h
(3.42 KB)
📄
x_tables.h
(4.36 KB)
📄
xt_AUDIT.h
(718 B)
📄
xt_CHECKSUM.h
(563 B)
📄
xt_CLASSIFY.h
(217 B)
📄
xt_CONNMARK.h
(199 B)
📄
xt_CONNSECMARK.h
(301 B)
📄
xt_CT.h
(853 B)
📄
xt_DSCP.h
(697 B)
📄
xt_HMARK.h
(933 B)
📄
xt_IDLETIMER.h
(1.36 KB)
📄
xt_LED.h
(470 B)
📄
xt_LOG.h
(642 B)
📄
xt_MARK.h
(184 B)
📄
xt_NFLOG.h
(556 B)
📄
xt_NFQUEUE.h
(779 B)
📄
xt_RATEEST.h
(390 B)
📄
xt_SECMARK.h
(648 B)
📄
xt_SYNPROXY.h
(419 B)
📄
xt_TCPMSS.h
(235 B)
📄
xt_TCPOPTSTRIP.h
(407 B)
📄
xt_TEE.h
(333 B)
📄
xt_TPROXY.h
(575 B)
📄
xt_addrtype.h
(1.06 KB)
📄
xt_bpf.h
(935 B)
📄
xt_cgroup.h
(463 B)
📄
xt_cluster.h
(374 B)
📄
xt_comment.h
(230 B)
📄
xt_connbytes.h
(577 B)
📄
xt_connlabel.h
(360 B)
📄
xt_connlimit.h
(575 B)
📄
xt_connmark.h
(900 B)
📄
xt_conntrack.h
(2.5 KB)
📄
xt_cpu.h
(199 B)
📄
xt_dccp.h
(483 B)
📄
xt_devgroup.h
(429 B)
📄
xt_dscp.h
(701 B)
📄
xt_ecn.h
(736 B)
📄
xt_esp.h
(418 B)
📄
xt_hashlimit.h
(3.18 KB)
📄
xt_helper.h
(188 B)
📄
xt_ipcomp.h
(485 B)
📄
xt_iprange.h
(581 B)
📄
xt_ipvs.h
(680 B)
📄
xt_l2tp.h
(739 B)
📄
xt_length.h
(221 B)
📄
xt_limit.h
(673 B)
📄
xt_mac.h
(227 B)
📄
xt_mark.h
(260 B)
📄
xt_multiport.h
(721 B)
📄
xt_nfacct.h
(301 B)
📄
xt_osf.h
(1.79 KB)
📄
xt_owner.h
(420 B)
📄
xt_physdev.h
(553 B)
📄
xt_pkttype.h
(188 B)
📄
xt_policy.h
(1022 B)
📄
xt_quota.h
(400 B)
📄
xt_rateest.h
(859 B)
📄
xt_realm.h
(220 B)
📄
xt_recent.h
(1.03 KB)
📄
xt_rpfilter.h
(320 B)
📄
xt_sctp.h
(2.27 KB)
📄
xt_set.h
(1.78 KB)
📄
xt_socket.h
(640 B)
📄
xt_state.h
(331 B)
📄
xt_statistic.h
(716 B)
📄
xt_string.h
(664 B)
📄
xt_tcpmss.h
(253 B)
📄
xt_tcpudp.h
(1.22 KB)
📄
xt_time.h
(730 B)
📄
xt_u32.h
(752 B)
Editing: nf_conntrack_common.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _NF_CONNTRACK_COMMON_H #define _NF_CONNTRACK_COMMON_H /* Connection state tracking for netfilter. This is separated from, but required by, the NAT layer; it can also be used by an iptables extension. */ enum ip_conntrack_info { /* Part of an established connection (either direction). */ IP_CT_ESTABLISHED, /* Like NEW, but related to an existing connection, or ICMP error (in either direction). */ IP_CT_RELATED, /* Started a new connection to track (only IP_CT_DIR_ORIGINAL); may be a retransmission. */ IP_CT_NEW, /* >= this indicates reply direction */ IP_CT_IS_REPLY, IP_CT_ESTABLISHED_REPLY = IP_CT_ESTABLISHED + IP_CT_IS_REPLY, IP_CT_RELATED_REPLY = IP_CT_RELATED + IP_CT_IS_REPLY, /* No NEW in reply direction. */ /* Number of distinct IP_CT types. */ IP_CT_NUMBER, /* only for userspace compatibility */ IP_CT_NEW_REPLY = IP_CT_NUMBER, }; #define NF_CT_STATE_INVALID_BIT (1 << 0) #define NF_CT_STATE_BIT(ctinfo) (1 << ((ctinfo) % IP_CT_IS_REPLY + 1)) #define NF_CT_STATE_UNTRACKED_BIT (1 << 6) /* Bitset representing status of connection. */ enum ip_conntrack_status { /* It's an expected connection: bit 0 set. This bit never changed */ IPS_EXPECTED_BIT = 0, IPS_EXPECTED = (1 << IPS_EXPECTED_BIT), /* We've seen packets both ways: bit 1 set. Can be set, not unset. */ IPS_SEEN_REPLY_BIT = 1, IPS_SEEN_REPLY = (1 << IPS_SEEN_REPLY_BIT), /* Conntrack should never be early-expired. */ IPS_ASSURED_BIT = 2, IPS_ASSURED = (1 << IPS_ASSURED_BIT), /* Connection is confirmed: originating packet has left box */ IPS_CONFIRMED_BIT = 3, IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT), /* Connection needs src nat in orig dir. This bit never changed. */ IPS_SRC_NAT_BIT = 4, IPS_SRC_NAT = (1 << IPS_SRC_NAT_BIT), /* Connection needs dst nat in orig dir. This bit never changed. */ IPS_DST_NAT_BIT = 5, IPS_DST_NAT = (1 << IPS_DST_NAT_BIT), /* Both together. */ IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT), /* Connection needs TCP sequence adjusted. */ IPS_SEQ_ADJUST_BIT = 6, IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT), /* NAT initialization bits. */ IPS_SRC_NAT_DONE_BIT = 7, IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT), IPS_DST_NAT_DONE_BIT = 8, IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT), /* Both together */ IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE), /* Connection is dying (removed from lists), can not be unset. */ IPS_DYING_BIT = 9, IPS_DYING = (1 << IPS_DYING_BIT), /* Connection has fixed timeout. */ IPS_FIXED_TIMEOUT_BIT = 10, IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT), /* Conntrack is a template */ IPS_TEMPLATE_BIT = 11, IPS_TEMPLATE = (1 << IPS_TEMPLATE_BIT), /* Conntrack is a fake untracked entry. Obsolete and not used anymore */ IPS_UNTRACKED_BIT = 12, IPS_UNTRACKED = (1 << IPS_UNTRACKED_BIT), /* Conntrack got a helper explicitly attached (ruleset, ctnetlink). */ IPS_HELPER_BIT = 13, IPS_HELPER = (1 << IPS_HELPER_BIT), /* Conntrack has been offloaded to flow table. */ IPS_OFFLOAD_BIT = 14, IPS_OFFLOAD = (1 << IPS_OFFLOAD_BIT), /* Conntrack has been offloaded to hardware. */ IPS_HW_OFFLOAD_BIT = 15, IPS_HW_OFFLOAD = (1 << IPS_HW_OFFLOAD_BIT), /* Be careful here, modifying these bits can make things messy, * so don't let users modify them directly. */ IPS_UNCHANGEABLE_MASK = (IPS_NAT_DONE_MASK | IPS_NAT_MASK | IPS_EXPECTED | IPS_CONFIRMED | IPS_DYING | IPS_SEQ_ADJUST | IPS_TEMPLATE | IPS_UNTRACKED | IPS_OFFLOAD | IPS_HW_OFFLOAD), __IPS_MAX_BIT = 16, }; /* Connection tracking event types */ enum ip_conntrack_events { IPCT_NEW, /* new conntrack */ IPCT_RELATED, /* related conntrack */ IPCT_DESTROY, /* destroyed conntrack */ IPCT_REPLY, /* connection has seen two-way traffic */ IPCT_ASSURED, /* connection status has changed to assured */ IPCT_PROTOINFO, /* protocol information has changed */ IPCT_HELPER, /* new helper has been set */ IPCT_MARK, /* new mark has been set */ IPCT_SEQADJ, /* sequence adjustment has changed */ IPCT_NATSEQADJ = IPCT_SEQADJ, IPCT_SECMARK, /* new security mark has been set */ IPCT_LABEL, /* new connlabel has been set */ IPCT_SYNPROXY, /* synproxy has been set */ }; enum ip_conntrack_expect_events { IPEXP_NEW, /* new expectation */ IPEXP_DESTROY, /* destroyed expectation */ }; /* expectation flags */ #define NF_CT_EXPECT_PERMANENT 0x1 #define NF_CT_EXPECT_INACTIVE 0x2 #define NF_CT_EXPECT_USERSPACE 0x4 #endif /* _NF_CONNTRACK_COMMON_H */
Upload File
Create Folder