--- zzzz-none-000/linux-3.18.24/include/uapi/linux/netfilter/nf_conntrack_common.h 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/include/uapi/linux/netfilter/nf_conntrack_common.h 2024-08-14 08:36:37.000000000 +0000 @@ -91,6 +91,23 @@ /* Conntrack got a helper explicitly attached via CT target. */ IPS_HELPER_BIT = 13, IPS_HELPER = (1 << IPS_HELPER_BIT), + +#if (defined(CONFIG_RTL_HARDWARE_NAT) && defined(CONFIG_RTL8676_Dynamic_ACL)) || defined(CONFIG_RTL867X_IPTABLES_FAST_PATH) + /* Both direction have passed firewall's check */ + IPS_8676_PASS_FIREWALL_BIT = 14, + IPS_8676_PASS_FIREWALL= (1 << IPS_8676_PASS_FIREWALL_BIT), +#endif + +#ifdef CONFIG_RTL867X_IPTABLES_FAST_PATH + /* Connection is set into fastpath */ + IPS_8676_IPFastPath_BIT = 15, + IPS_8676_IPFastPath= (1 << IPS_8676_IPFastPath_BIT), + + /* Connection has been check whether to add fastpath */ + IPS_8676_IPFastPath_DONE_BIT = 16, + IPS_8676_IPFastPath_DONE= (1 << IPS_8676_IPFastPath_DONE_BIT), +#endif + }; /* Connection tracking event types */