Conntrack statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am currently playing with the netfilter subsystem in a 2.6.7 kernel
and a 2.6.28 kernel.

In the 2.6.28 kernel I can get the number of packets and bytes for a
conntrack using something like:
struct nf_conn_counter *cnt = nf_conn_acct_find(conntrack);

However, this relies on conntrack extensions, which do not exist in 2.6.7.
Does anyone have any idea how I could accomplish the same effect in
2.6.7? I mean, the counters have to be somewhere, I just don't know
where or how to reach them by having the conntrack structure.

All the best,
Silviu Popescu

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux