aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-06-01 21:18:59 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-06-01 21:18:59 +0000
commitd4fdd6ad524de33ce1bc5b356982cddbf4e2e828 (patch)
treedc516f0e5ad0d279e5e8e80a7971e2f229956733 /epan/packet_info.h
parentc408151a80bbe3e6d46039cd20e2437151788600 (diff)
Only propose decoding PPID 0 if that PPID is in the currently-selected frame.
(I used PPID 0xffffffff as an end-of-list marker so that PPID can no longer be used in this dialog; if someone starts using that PPID then we'll have to put a count of PPIDs in pinfo.) svn path=/trunk/; revision=42991
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index 49f444e76f..5a52555788 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -174,9 +174,11 @@ typedef struct _packet_info {
gboolean gssapi_data_encrypted;
guint32 ppid; /* SCTP PPI of current DATA chunk */
+/* This is a valid PPID, but we use it to mark the end of the list */
+#define LAST_PPID 0xffffffff
guint32 ppids[MAX_NUMBER_OF_PPIDS]; /* The first NUMBER_OF_PPIDS PPIDS which are present
- * in the SCTP packet
- */
+ * in the SCTP packet
+ */
void *private_data; /* pointer to data passed from one dissector to another */
GHashTable *private_table; /* a hash table passed from one dissector to another */
/* TODO: Use emem_strbuf_t instead */