Wireshark-commits: [Wireshark-commits] rev 49401: /trunk/wiretap/ /trunk/wiretap/: libpcap.c pcap-c
Date: Sat, 18 May 2013 02:36:01 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49401

User: guy
Date: 2013/05/17 07:36 PM

Log:
 In the pcapng seek-read routine, *don't* fill in wth->phdr; seek-read
 routines are passed a separate struct wtap_pkthdr to be filled in.
 
 Get rid of the pseudo_header member of the wblock structure - the
 pseudo-header is part of the struct wtap_pkthdr.
 
 Get rid of the union wtap_pseudo_header * argument to
 pcap_process_pseudo_header() - it's passed a pointer to a struct
 pcap_pkthdr, and that structure contains the union in question.
 
 Have libpcap_read_header() take a FILE_T argument, rather than using
 only the "sequential" handle of the wtap it's handed.  Have the libpcap
 read routine return the offset of the beginning of the pcap record, and
 have the seek-read routine read the header and fill in the struct
 wtap_pkthdr handed to it.

Directory: /trunk/wiretap/
  Changes    Path             Action
  +68 -60    libpcap.c        Modified
  +23 -23    pcap-common.c    Modified
  +2 -2      pcap-common.h    Modified
  +10 -17    pcapng.c         Modified