logo       

Resend: current bandwidth measurement: msg#00328

Subject: Resend: current bandwidth measurement
Seems like my first mail didnt show up on the list.

Hi,
   I wanted to know how the current flow rate for an interface is maintained
in the kernel. I studied the tc_stats structure (include/linux/pkt_sched.h)
but its bps and pps fields are not used anywhere except in net/sched/police.c
(used "stats.bps" to search for the files).
   Is it that the current bps and pps are maintained in the queue structures?
If so, can you point me to the relevant files/structures/functions.

Thanks in advance,
Ashok






<Prev in Thread] Current Thread [Next in Thread>