Netdev List
 help / color / mirror / Atom feed
* ip logging function help
@ 2005-05-19 12:19 cranium2003
  0 siblings, 0 replies; only message in thread
From: cranium2003 @ 2005-05-19 12:19 UTC (permalink / raw)
  To: net dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-19 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 12:19 ip logging function help cranium2003

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox