--- zzzz-none-000/linux-4.1.38/include/net/netfilter/nf_conntrack_expect.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/net/netfilter/nf_conntrack_expect.h 2020-11-25 10:06:48.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);