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

Date: Mon, 22 Oct 2012 08:09:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45704

User: guy
Date: 2012/10/22 01:09 AM

Log:
 Pass a pointer to a struct wtap_pkthdr to a bunch of macros; this allows
 us to avoid one redefinition of those macros that, in the one
 definition, for the read routines, refer to the pseudo-header as
 wth->phdr.pseudo_header and, in the next definition, for the seek-read
 routine, refer to it as *pseudo_header - instead, we pass &wth->phdr in
 the read routine and phdr in the seek-read routine.

Directory: /trunk/wiretap/
  Changes    Path           Action
  +111 -137  netscaler.c    Modified