From f589cbbdee7f78256af3a33f962faa1349f4791d Mon Sep 17 00:00:00 2001 From: Shinjo Park Date: Sun, 7 Oct 2018 20:23:32 +0200 Subject: [PATCH] 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 --- include/osmocom/core/gsmtap.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/osmocom/core/gsmtap.h b/include/osmocom/core/gsmtap.h index 9e3db0b9c..9c2965bed 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 {