--- zzzz-none-000/linux-2.6.39.4/include/net/netfilter/nf_conntrack.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/net/netfilter/nf_conntrack.h 2021-11-10 13:38:18.000000000 +0000 @@ -27,6 +27,28 @@ #include +#ifdef CONFIG_TI_PACKET_PROCESSOR + +/* Flag definitions that are carried in the PP status flag in the connection tracking + * structure. */ + +/* Set the flag to indicate that the connection tacking timeout code should execute as + * such and the entry will be deleted. */ +#define TI_PP_KILL_CONNTRACK 0x1 + +/* Set the flag to 1 indicates that all packets flowing through the box matching the + * connection will have their BYPASS flag set. */ +#define TI_PP_BYPASS 0x2 + +/* Set the flag to 1 indicates that this conntrack connection is upstream */ +#define TI_PP_US_CONNECTION 0x4 + +/* Set the flag to 1 indicates that all packets flowing through the box matching the + * connection will have their BYPASS flag set. */ +#define TI_PP_DS_RESPONSE_HASH_VALID 0x8 + +#endif /*CONFIG_TI_PACKET_PROCESSOR */ + /* per conntrack: protocol private data */ union nf_conntrack_proto { /* insert conntrack proto private data here */ @@ -135,6 +157,13 @@ struct net *ct_net; #endif +#ifdef CONFIG_TI_PACKET_PROCESSOR + unsigned int ti_pp_status_flag; + unsigned int ti_pp_scb_id; + u_int16_t ti_pp_ds_response_hash; + u_int16_t ti_reserved; +#endif + /* Storage reserved for other modules, must be the last member */ union nf_conntrack_proto proto; };