http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41185
User: guy
Date: 2012/02/25 03:24 PM
Log:
Add a presence flag field to the packet information structure filled in
by Wiretap, to indicate whether certain fields in that structure
actually have data in them.
Use the "time stamp present" flag to omit showing time stamp information
for packets (and "packets") that don't have time stamps; don't bother
working very hard to "fake" a time stamp for data files.
Use the "interface ID present" flag to omit the interface ID for packets
that don't have an interface ID.
We don't use the "captured length, separate from packet length, present"
flag to omit the captured length; that flag might be present but equal
to the packet length, and if you want to know if a packet was cut short
by a snapshot length, comparing the values would be the way to do that.
More work is needed to have wiretap/pcapng.c properly report the flags,
e.g. reporting no time stamp being present for a Simple Packet Block.
Directory: /trunk/epan/dissectors/
Changes Path Action
+49 -38 packet-frame.c Modified
Directory: /trunk/epan/
Changes Path Action
+75 -45 column-utils.c Modified
+2 -0 frame_data.c Modified
+2 -0 frame_data.h Modified
Directory: /trunk/wiretap/
Changes Path Action
+1 -0 5views.c Modified
+1 -0 aethra.c Modified
+2 -0 airopeek9.c Modified
+1 -0 ascendtext.c Modified
+3 -5 ber.c Modified
+1 -0 btsnoop.c Modified
+2 -0 catapult_dct2000.c Modified
(37 files not shown)