From: Pablo Neira Ayuso Date: Tue, 28 Feb 2012 17:23:31 +0000 (+0100) Subject: netfilter: nf_conntrack: pass timeout array to l4->new and l4->packet X-Git-Tag: v3.4-rc1~177^2~120^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8503f55fbdfbeff4164f133df804cf4d316290;p=pandora-kernel.git netfilter: nf_conntrack: pass timeout array to l4->new and l4->packet This patch defines a new interface for l4 protocol trackers: unsigned int *(*get_timeouts)(struct net *net); that is used to return the array of unsigned int that contains the timeouts that will be applied for this flow. This is passed to the l4proto->new(...) and l4proto->packet(...) functions to specify the timeout policy. This interface allows per-net global timeout configuration (although only DCCP supports this by now) and it will allow custom custom timeout configuration by means of follow-up patches. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed