From: cranium2003 Subject: who calls ipt_log_target? Date: Thu, 19 May 2005 05:19:02 -0700 (PDT) Message-ID: <20050519121902.93885.qmail@web33001.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netfilter 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 hello, By adding iptable rule iptable -A OUTPUT -j LOG I am able to check log of each outgoing packets. But i want to know who is actually calling ipt_log_target function defined in ipt_LOG.c as static unsigned int ipt_log_target(struct sk_buff **pskb, unsigned int hooknum, const struct net_device *in, const struct net_device *out, const void *targinfo, void *userinfo) I want to know which file in source code has pointer to call ipt_log_target function? I want instance/copy of const struct net_device *out to my function in kernel to know that eth0 or eth1 is transmitting packet. Thanks in advance. regards, cranium __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250