From mboxrd@z Thu Jan 1 00:00:00 1970 From: KOVACS Krisztian Subject: Re: How do I use ip_conntrack_destroyed? Date: Thu, 04 Dec 2003 08:58:52 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3FCEE93C.5040104@balabit.hu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Emmanuel Guiton , netfilter-devel@lists.netfilter.org Return-path: To: Henrik Nordstrom In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi, Henrik Nordstrom wrote: >>/* Call me when a conntrack is destroyed. */ >>extern void (*ip_conntrack_destroyed)(struct ip_conntrack *conntrack); > > If you want to do this I think you should first extend > ip_conntrack_destroyed into a list of handlers with a suitable > registration functions to allow more than one module to register a > "ip_conntrack_destroyed" function. As I've mentioned, this is already done in the nfnetlink-ctnetlink patch. -- Regards, Krisztian KOVACS