netdev
[Top] [All Lists]

ip logging function help

To: net dev <netdev@xxxxxxxxxxx>
Subject: ip logging function help
From: cranium2003 <cranium2003@xxxxxxxxx>
Date: Thu, 19 May 2005 05:19:38 -0700 (PDT)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=kYaEWO+3bYJe9+coy6YMt0ROD2yLQrWkkSFTM7nbYAQ1YLhIWfoacHyF0wxnYnICDjA5FX9a8mlYxTT3MKNrh/5vUjsj6ywczsZ6eC7Q8mHg7z1yMWMvIl5LjYtgjoDQMFb9zy55eqqV0OwT52PseyeKBbv88bl+xhnGSB7fA84= ;
Sender: netdev-bounce@xxxxxxxxxxx
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


                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


<Prev in Thread] Current Thread [Next in Thread>
  • ip logging function help, cranium2003 <=