I am studying the frame timing for a real time control system. For example, frames should go out every 1msec. I could filter the frames that are off-sync by 100usec early to 100usec late using this type expression: ((frame.time + 0.0001) MOD 0.001) < 0.0002 Or with integer math (((frame.time * 1000000) + 100) MOD 1000) < 200 Is there a way to enter this type math expression in the filter editors? asked 16 Mar '11, 20:45 Rich S |
One Answer:
Doing math in a display filter is not possible. The closest you can get to what you want is to look at the frame.time_delta. You can then look at the interpacket time with:
However, with a little scripting you can achieve what you want with tshark:
Which produces the following output (random capture file in my collection):
answered 17 Mar '11, 00:44 SYN-bit ♦♦ |