recording packet sent time

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux