summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorShinjo Park <peremen@gmail.com>2018-10-07 20:23:32 +0200
committerShinjo Park <peremen@gmail.com>2018-10-07 20:23:32 +0200
commitf589cbbdee7f78256af3a33f962faa1349f4791d (patch)
treeaa8cade47de2c3ec2b0844f15e60f734242c9cf5 /include/osmocom
parentd741b783153455010338e70ffaf52653e76584b6 (diff)
GSMTAP: add definitions for LTE NAS subtypes
Wireshark GSMTAP dissector has LTE NAS subtypes for plain NAS messages and NAS messages with security header. This commit adds definition for these subtypes. Change-Id: I49d15fb13299c1bcbe0fb7e50bf222294c7a49ef
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/gsmtap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/core/gsmtap.h b/include/osmocom/core/gsmtap.h
index 9e3db0b9..9c2965be 100644
--- a/include/osmocom/core/gsmtap.h
+++ b/include/osmocom/core/gsmtap.h
@@ -272,6 +272,14 @@ enum {
GSMTAP_LTE_RRC_SUB_MAX
};
+/* LTE NAS message types */
+enum {
+ GSMTAP_LTE_NAS_PLAIN = 0,
+ GSMTAP_LTE_NAS_SEC_HEADER,
+
+ GSMTAP_LTE_NAS_SUB_MAX
+};
+
/* ====== DO NOT MAKE UNAPPROVED MODIFICATIONS HERE ===== */
/*! Structure of the GTMTAP pseudo-header */
struct gsmtap_hdr {