From mboxrd@z Thu Jan 1 00:00:00 1970 From: aoliva Subject: How to find the chain which calls the match Date: Mon, 09 Oct 2006 17:13:24 +0200 Message-ID: <452A6714.5030709@it.uc3m.es> References: <1160405480.28977.201.camel@mfarooq-1.tango-networks.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1160405480.28977.201.camel@mfarooq-1.tango-networks.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" Cc: netfilter@lists.netfilter.org Hi all, I am writing a match for iptables and I would like it to have a different behaviour when it is called from different chains (e.g. different behaviour when called from INPUT than OUTPUT) anyone knows how to check in the match which is the chain that is calling it? Thanks in advance. Antonio de la Oliva