Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP packet logging function help

Reply
Thread Tools Display Modes

IP packet logging function help

 
 
cranium.2003@gmail.com
Guest
Posts: n/a

 
      05-20-2005, 03:50 AM
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
function set packet capture promisc mode in linux? Xend Linux Networking 1 06-23-2008 08:29 PM
firewall / ip / packet logging ? Scott Windows Networking 0 02-13-2008 11:47 AM
Wireless packet logging? Charles P. Lamb Wireless Networks 4 09-23-2006 02:06 AM
Receiver sensitivity- Packet Detection v/s Packet capture Vinay Wireless Internet 1 10-14-2005 01:50 AM
Which function at link layer sends packet? kernel.lover Linux Networking 0 02-03-2005 12:06 PM



1 2 3 4 5 6 7 8 9 10 11