aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frame_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/frame_data.h')
-rw-r--r--epan/frame_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/frame_data.h b/epan/frame_data.h
index db6d5034a4..3b61c06e3e 100644
--- a/epan/frame_data.h
+++ b/epan/frame_data.h
@@ -44,6 +44,9 @@ typedef struct _color_t /* {
/* XXX - some of this stuff is used only while a packet is being dissected;
should we keep that stuff in the "packet_info" structure, instead, to
save memory? */
+/* The frame number is the ordinal number of the frame in the capture, so
+ it's 1-origin. In various contexts, 0 as a frame number means "frame
+ number unknown". */
typedef struct _frame_data {
struct _frame_data *next; /* Next element in list */
struct _frame_data *prev; /* Previous element in list */