[Click] packet arrival times

Eddie Kohler kohler at cs.ucla.edu
Fri Mar 3 11:52:00 EST 2006


Hi Alastair,

Packets' timestamp annotations should have exactly what you want.  They are 
set by the driver, generally.

Eddie


Alastair McKinley wrote:
> Hi everyone,
> 
> I would like to know the relative time at which packets arrived at two
> separate interfaces and act on this information later in my click
> configuration.  Unfortunately I'm not quite sure how this works, so I'm
> not sure if its possible.
> 
> I think the device driver sets the packet timestamp in sk_buff->tstamp,
> right?  I dont think FromDevice does anything with the timestamp (or
> does it)? Typically how many packets would be retrieved from an
> interface per interrupt?  
> 
> Would this task be any easier if I was using a polling capable device?
> 
> Please excuse my poor understanding of this and barrage of questions!
> Any advice would be greatly appreciated.
> 
> Best regards,
> 
> Alastair
> 
>  
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list