aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mac-lte.h
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2009-02-12 12:08:05 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2009-02-12 12:08:05 +0000
commitb0ea821ef6a8e3b89f509144ecddd7fd0a7fddda (patch)
treeb5b396b08572edd6a5cac3699375b4f8a0f798f5 /epan/dissectors/packet-mac-lte.h
parent7a96092e54a7905dfc9569dd36a6c4b5fe46166b (diff)
Add tapping interface to MAC LTE.
svn path=/trunk/; revision=27441
Diffstat (limited to 'epan/dissectors/packet-mac-lte.h')
-rw-r--r--epan/dissectors/packet-mac-lte.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h
index 937ed22bff..02d2de4fa7 100644
--- a/epan/dissectors/packet-mac-lte.h
+++ b/epan/dissectors/packet-mac-lte.h
@@ -22,8 +22,17 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#define DIRECTION_UPLINK 0
+#define DIRECTION_DOWNLINK 1
-/* Info attached to each LTE MAC frame */
+#define NO_RNTI 0
+#define P_RNTI 1
+#define RA_RNTI 2
+#define C_RNTI 3
+#define SI_RNTI 4
+
+
+/* Context info attached to each LTE MAC frame */
typedef struct mac_lte_info
{
/* Needed for decode */
@@ -39,3 +48,16 @@ typedef struct mac_lte_info
guint16 length;
} mac_lte_info;
+
+typedef struct mac_lte_tap_info {
+ /* Info from context */
+ guint16 rnti;
+ guint8 rnti_type;
+ guint8 is_predefined_data;
+ guint8 direction;
+
+ /* Number of bytes (which part is used depends upon context settings) */
+ guint32 single_number_of_bytes;
+ guint32 bytes_for_lcid[11];
+} mac_lte_tap_info;
+