aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rohc.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-01-03 22:08:13 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-01-03 22:08:13 +0000
commit1b98cbfe97649886e7ff12ab44003e4049edd5cd (patch)
tree08326c6534ec48db1632d638717a1530b2a8d726 /epan/dissectors/packet-rohc.h
parent906d2aecbb8fee2e8a7e2a1b14ec0bbc062c1dcc (diff)
Use a hash table to gather information from IR packets and store it in per-packet-data.
svn path=/trunk/; revision=40362
Diffstat (limited to 'epan/dissectors/packet-rohc.h')
-rw-r--r--epan/dissectors/packet-rohc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rohc.h b/epan/dissectors/packet-rohc.h
index 6b0a7a07e4..6b750a0d07 100644
--- a/epan/dissectors/packet-rohc.h
+++ b/epan/dissectors/packet-rohc.h
@@ -36,6 +36,7 @@
enum rohc_mode
{
+ MODE_NOT_SET = 0,
UNIDIRECTIONAL = 1,
OPTIMISTIC_BIDIRECTIONAL = 2,
RELIABLE_BIDIRECTIONAL = 3
@@ -70,9 +71,9 @@ typedef struct rohc_context
gboolean rnd[MAX_CID+1];
gboolean udp_checkum_present[MAX_CID+1];
guint16 profile[MAX_CID+1];
-} rohc_context;
+ gboolean rohc_context_init[MAX_CID+1];
+ gint ir_frame_number[MAX_CID+1]; /* The frame number of the last IR packet seen */
-int dissect_rohc_ir_packet(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int offset, guint8 cid, gboolean is_add_cid, rohc_info *p_rohc_info);
-int dissect_rohc_ir_dyn_packet(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int offset, guint8 cid, gboolean is_add_cid, rohc_info *p_rohc_info);
+} rohc_context;
#endif /* PACKET_ROHC_H */