Wireshark mailing list archives

Re: Can't get nsecs info form lua srcript ?


From: Anders Broman <a.broman58 () gmail com>
Date: Thu, 20 Nov 2014 17:36:41 +0100

Den 20 nov 2014 17:08 skrev "徐鸿" <icehong () gmail com>:

Hi guys ,

 Is it possible to get  accurate nanosecond info for lua script ?   For
the same packet , I got pinfo.abs_ts == 1416493696.7953 in lua script  ,
but in main window the time show as "1416493696.795345000",    is it
possible to got  the accurate nanosecond in lua ?
my wireshark version is Version 1.12.2 (v1.12.2-0-g898fa22 from
master-1.12) Running on 64-bit Windows 7 Service Pack 1, build 7601

Thanks .


Note that even if you get all the decimals it wouldn't be accurate as in
this is the exact time the packet arrived to the nic due to the way
timestamping is done.

Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: