From: Thomas Graf Subject: Re: [PATCH 1/3] libnl: add netfilter support Date: Mon, 3 Sep 2007 13:03:35 +0200 Message-ID: <20070903110335.GK18480@postel.suug.ch> References: <46DB9716.1020400@snapgear.com> <46DB9776.8020209@snapgear.com> <46DBD8CD.9060804@trash.net> <20070903100148.GG18480@postel.suug.ch> <46DBDCBB.8080903@trash.net> <20070903101504.GI18480@postel.suug.ch> <46DBE7AD.3020208@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Netfilter Developer Mailing List , Philip Craig To: Patrick McHardy Return-path: Content-Disposition: inline In-Reply-To: <46DBE7AD.3020208@trash.net> 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 * Patrick McHardy 2007-09-03 12:53 > That looks pretty much like a list of attributes, but > using different attribute types. Just out of interest: > do you have a pointer to code doing this? Yes, see tcf_action_dump(). OTOH, netlabel is making heavy use of attribute lists but the type is constant to allow for automatic policy validation. I think this is the proper way of generating lists.