From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [RFC] new API for libnetfilter_conntrack Date: Tue, 31 Oct 2006 19:57:02 +0100 Message-ID: <45479C7E.5020300@netfilter.org> References: <45456285.4010609@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Harald Welte , Patrick McHardy , Eric Leblond Return-path: To: Netfilter Development Mailinglist In-Reply-To: <45456285.4010609@netfilter.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Pablo Neira Ayuso wrote: > Hi, > > Attached a patch, yet incomplete, that introduces the new API for > libnetfilter_conntrack. Basically the idea consists of providing > "conntrack" objects constructor/destructor functions and an interface to > get and set object attributes. The conntrack object structure is > encapsulated therefore we can add new attributes without breaking binary > backward compatibility. There is an example of the new API use in the > patch (see test.c file) JFYI: I'm going to finish the patch and then get back to the list for discussion, perhaps I was too fast to request feedback. If someone is interested in the evolution of the proposed new API, I'll be updating the patch on my people netfilter place. -- The dawn of the fourth age of Linux firewalling is coming; a time of great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris