aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rohc.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-12-09 02:34:53 +0000
committerGuy Harris <guy@alum.mit.edu>2011-12-09 02:34:53 +0000
commit3f199f793a3d733df4d18dbb9287ecb21428d3e7 (patch)
treeb0f33836d6c1d0365a0fd7a54339854a2ad6b017 /epan/dissectors/packet-rohc.h
parent9242ce10c3483c1494020cafbdab28b9cb91b979 (diff)
Move the definition of enum rohc_mode into packet-rohc.h.
Have packet-pdcp-lte.h include packet-rohc.h to pick up that definition. Get rid of now-no-longer-necessary includes. svn path=/trunk/; revision=40123
Diffstat (limited to 'epan/dissectors/packet-rohc.h')
-rw-r--r--epan/dissectors/packet-rohc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rohc.h b/epan/dissectors/packet-rohc.h
index f51d5c7994..a9b803ba06 100644
--- a/epan/dissectors/packet-rohc.h
+++ b/epan/dissectors/packet-rohc.h
@@ -32,10 +32,15 @@
#ifndef PACKET_ROHC_H
#define PACKET_ROHC_H
-typedef struct rohc_info
+enum rohc_mode
{
+ UNIDIRECTIONAL = 1,
+ OPTIMISTIC_BIDIRECTIONAL = 2,
+ RELIABLE_BIDIRECTIONAL = 3
+};
- /* RoHC settings */
+typedef struct rohc_info
+{
gboolean rohc_compression;
unsigned short rohc_ip_version;
gboolean cid_inclusion_info;