LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Packet status in Linux kernel (https://www.linuxquestions.org/questions/linux-kernel-70/packet-status-in-linux-kernel-721240/)

kasi86 04-23-2009 03:26 PM

Packet status in Linux kernel
 
I will send packets through some packet generators like iperf, netpef.
Later I want to analyze status about the sent and received packets.
In Linux kernel from where I can get the status about sent and received packets?

jf.argentino 04-24-2009 07:49 AM

You can cat any files under "/sys/class/net/eth0/statistics/", or using command netstat

kentyler 04-24-2009 08:01 AM

You would have to have the nf_conntrack module installed so do:

modprobe nf_conntrack

and then do:

cat /proc/net/nf_conntrack

kasi86 05-12-2009 09:09 AM

Thanks. I check with that.

I am having one more doubt.
In kernel, whether ip_fragment() in net/ipv4/ip_output.c is reentrant function or not?


All times are GMT -5. The time now is 12:41 PM.