--- zzzz-none-000/linux-4.1.52/include/net/netfilter/nf_conntrack_expect.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/net/netfilter/nf_conntrack_expect.h 2022-03-02 11:37:13.000000000 +0000 @@ -42,6 +42,12 @@ /* Expectation class */ unsigned int class; +#if defined(CONFIG_BCM_KF_NETFILTER) + unsigned derived_timeout; /* 0 means no derived_timeout, 0xFFFFFFFF + * means never timeout until master ct is + * disconnected, others means timeout secs */ +#endif + #ifdef CONFIG_NF_NAT_NEEDED union nf_inet_addr saved_addr; /* This is the original per-proto part, used to map the @@ -69,6 +75,10 @@ #define NF_CT_EXPECT_CLASS_DEFAULT 0 +#if defined(CONFIG_BCM_KF_NETFILTER) +#define NF_CT_EXPECT_DERIVED_TIMEOUT 0x80 +#endif + int nf_conntrack_expect_pernet_init(struct net *net); void nf_conntrack_expect_pernet_fini(struct net *net);