This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 213 and 214
Revision 213 as of 2012-02-15 18:29:09
Size: 668
Editor: JoseOliveira
Comment:
Revision 214 as of 2012-05-17 22:34:33
Size: 977
Editor: Juergen
Comment: seek for help with timestamps on Lua
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
|| || DVB-CI || CI+ 1.2 || CI+ 1.3 ||
|| Resource Manager || x || x || xx ||
|| || || ||
|| || || ||
|| || || ||
|| || || ||
|| || || ||
|| || || ||
Seems editing this page is not peeing in the pool, so I try to ask here because I did't find the right place to ask questions:
Line 10: Line 3:
Is there a repository/collection/library of [[Lua]] scripts beyond [[Lua/Examples]] to learn from ?
Specifically, it seems os.clock() has only timer tick resolution (15 ms on windows and 10 ms on linux), but I need sub-millisecond precision.
Line 11: Line 6:
----
= sametime =
Generic Dissector permits to decode/display your own data inside Wireshark without any code.
Background:
I'm willing to write a Lua script to accumulate the timestamps of tens of thousands of sniffed packets and to account wall clock time to my client application once a packet is received on the client pc and to account wall clock time to the network or the other end of the socket (the server) once a packet is sent and do it vice versa on the server pc to get an exact measure of client, network and server times for a performance analysis, but don't know where to start from.
Line 15: Line 9:
You define your data's structure inside a text file.

----
 . Look at http://maiu.wauwau/

This is a test.

|| Block || Option || dumpcap pcapio.{c,h} || Wiretap API ||
||<-4> All ||
|| || (1) opt_comment || || ||
||<rowbgcolor="#c0ffc0"> SHB || || || ||
|| || (2) shb_hardware || || ||
|| || (3) shb_os || || ||
|| || (4) shb_userappl ||<bgcolor="#00ff00"> OK || ||
Perhaps someone can point me to the right place to search or to the right method to use ? Thanks, Juergen.

Seems editing this page is not peeing in the pool, so I try to ask here because I did't find the right place to ask questions:

Is there a repository/collection/library of Lua scripts beyond Lua/Examples to learn from ? Specifically, it seems os.clock() has only timer tick resolution (15 ms on windows and 10 ms on linux), but I need sub-millisecond precision.

Background: I'm willing to write a Lua script to accumulate the timestamps of tens of thousands of sniffed packets and to account wall clock time to my client application once a packet is received on the client pc and to account wall clock time to the network or the other end of the socket (the server) once a packet is sent and do it vice versa on the server pc to get an exact measure of client, network and server times for a performance analysis, but don't know where to start from.

Perhaps someone can point me to the right place to search or to the right method to use ? Thanks, Juergen.

WikiSandBox (last edited 2020-08-14 16:23:22 by 2601:200:c001:d44:81f6:197c:58b:2580)