Wireshark mailing list archives

Re: [Wireshark-commits] rev 50765: /trunk/ /trunk/epan/dissectors/: packet-frame.c /trunk/epan/: Makefile.common column-utils.c column-utils.h column_info.h epan-int.h epan.c epan.h frame_data.c frame_data.h packet.c packet_info.h ...


From: Joerg Mayer <jmayer () loplof de>
Date: Sun, 21 Jul 2013 22:56:28 +0200

On Sun, Jul 21, 2013 at 08:48:30PM +0000, darkjames () wireshark org wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50765

Log:
 Add helper function to epan_session which can be used to get absolute timestamp of given frame.
 Remove ->prev_cap, for testing purpose also replace ->prev_dis with number of previously displayed frame number.
 
 This patch reduce size of frame_data by 8B (amd64)
 This is what (I think) was suggested by Guy in comment 13 
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821#c13)


[  7%] Building C object epan/CMakeFiles/epan.dir/epan.c.o
/Users/jmayer/wireshark/svn/epan/epan.c:155:10: error: assigning to 'nstime_t *' from
      'const nstime_t *' discards qualifiers
                abs_ts = session->get_frame_ts(session->data, frame_num);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Ciao
     Jörg
-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: