[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 357] Re: Accounting in altq
Anders Chr. Skoe wrote:
> We're a group here at Rice trying to implement a measurement-based
> admission control algorithm. Our scheme requires us to read the
> timestamps of arriving traffic, and from the statistics of these arrivals
> determine whether or not to admit a flow.
>
> I was hoping one of you folks might have some useful insight as to
> how we would want to collect the timestamps of the arriving packets. More
> specifically - is there a struct that already contains this timestamp, or
> if not, where can we grab them? I've spent a good number of hours looking
> through the altq-code and parts of the kernel, but can't say I've had any
> luck.
sounds like BPF but I doubt that you really want to collect timestamps
from ALL packets.
-Kenjiro