diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-21 20:48:30 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-21 20:48:30 +0000 |
commit | 5d52e1673483c6ed146ced3c7c086594c0a484ac (patch) | |
tree | 88ca0347d8bbadce7fd02036e5b5a2c34887ac31 /epan/epan-int.h | |
parent | a66a717d46af19111dbde3dc9e72a2bd32734692 (diff) |
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)
svn path=/trunk/; revision=50765
Diffstat (limited to 'epan/epan-int.h')
-rw-r--r-- | epan/epan-int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/epan-int.h b/epan/epan-int.h index aa5aa16c5c..6580c55c26 100644 --- a/epan/epan-int.h +++ b/epan/epan-int.h @@ -24,8 +24,12 @@ #ifndef __EPAN_INT_H__ #define __EPAN_INT_H__ +#include <wsutil/nstime.h> + struct epan_session { - void *reserved; + void *data; + + const nstime_t *(*get_frame_ts)(void *data, guint32 frame_num); }; #endif |