Wireshark-commits: [Wireshark-commits] rev 45705: /trunk/wiretap/ /trunk/wiretap/: netscaler.c

Date: Mon, 22 Oct 2012 10:06:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45705

User: guy
Date: 2012/10/22 03:06 AM

Log:
 Pull the length-and-caplen setting operations in the read routines into
 the macros.
 
 Note why we don't pull the time setting operations into the macros (it's
 because that would mean the macros can't be used in the seek-read
 routines, as calculating time stamps requires accumulating the time
 stamps in a sequential pass through the packets, given that the records
 have time stamps relative to the previous packet).
 
 Fix what is probably a typo in the definitions of some macros (which
 happen to work without the fix because "fp" and "pp" are both local
 variable names as well as macro arguments).

Directory: /trunk/wiretap/
  Changes    Path           Action
  +47 -33    netscaler.c    Modified