Hi Laris
this is not yet available in ZC, we should add support for this.

Alfredo

> On 01 Apr 2015, at 19:10, Laris Benkis <[email protected]> wrote:
> 
> Alfredo
> 
> Since .ts is the only timestamp in the ZC api, and the igb timestamp is
> a 20bit value, if you set the ts field to the hardware timestamp then
> there is no record of the actual date/time of arrival of a packet.  Is
> this correct or am I missing something?
> 
> Using DNA you have a function pfring_set_device_clock  which was
> useful.  Setting the clock to 0 at the start of a measurement meant I
> didnt have to deal with clock wrapping.  Is there anyway to clear the
> clock using ZC?
> 
> Thanks
> 
> Laris
> 
> On 27-Mar-15 1:15 PM, Alfredo Cardigliano wrote:
>> The ZC packet handle has a .ts field with nsec resolution, the library fills 
>> that field with the hw timestamp when available.
>> 
>> Alfredo
>> 
>>> On 16 Mar 2015, at 14:38, Laris Benkis <[email protected]> wrote:
>>> 
>>> How do I access hardware timestamps with ZC?  ZC provides no access to
>>> the pfring_extended_pkthdr which contains the timestamp_ns variable.
>>> 
>>> Thanks
>>> 
>>> Laris
>>> 
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> 
> 
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to