Hello

I am writing a qdisc scheduler (called fb in the diagram) that does certain packet delaying and other stuff. (for egress traffic)

   root (htb/tbf)
          |
   ---------------
 cl1   cl2        |
                    tbf
                  --------
                  |        |
                cl3    cl4
                 |        |
                *fb*     fifo

Now I need to record the time when packets leaves the system. I can't do it in fb since the packet *may* experience buffering delay in higher level token bucket.

I was wondering what are my options for such an implementation?
Is it a good option to write a qdisc for this task that will be used as a root qdisc? (every packet does travel through it, right?)


Or is there a better location for this code, (or perhaps this is already done somewhere?)

(it should be safe to assume that there will be not significat buffering delay in the physical device, since the rate will be much lower then the device an handle)

With regards
R.Harper

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to