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? |
You can cat any files under "/sys/class/net/eth0/statistics/", or using command netstat
|
You would have to have the nf_conntrack module installed so do:
modprobe nf_conntrack and then do: cat /proc/net/nf_conntrack |
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. |