netdev
[Top] [All Lists]

Resend: current bandwidth measurement

To: netdev@xxxxxxxxxxx
Subject: Resend: current bandwidth measurement
From: N N Ashok <nalkunda@xxxxxxxxxxx>
Date: Sat, 24 May 2003 19:25:38 -0400
Organization: CSE, Michigan State University
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.4.3
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>
  • Resend: current bandwidth measurement, N N Ashok <=