diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-12-07 12:31:08 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-12-07 18:35:10 +0100 |
commit | e190e032d97d6a67524efc4f6169a30789c86048 (patch) | |
tree | 4f5602ae13da457e4dca1a69ab138f1269f1d4a1 /include/osmocom/gsm/protocol | |
parent | f98c78ec4a4c1da77ceaee32490719be9b36d50c (diff) |
gsm29118: add generator functions for GSM29118 messages
We already have some GSM29118 related definitions and functions in
libosmocore. Lets also add some functions to generate GSM29118 messages
(similar to those we have for GSM0808).
Change-Id: Ic87f8a771b87b52215d0a7451b67794557b80b8a
Related: OS#3615
Diffstat (limited to 'include/osmocom/gsm/protocol')
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_29_118.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_29_118.h b/include/osmocom/gsm/protocol/gsm_29_118.h index 70f15003..cfe772aa 100644 --- a/include/osmocom/gsm/protocol/gsm_29_118.h +++ b/include/osmocom/gsm/protocol/gsm_29_118.h @@ -173,4 +173,11 @@ static inline const char *sgsap_ue_emm_mode_name(enum sgsap_ue_emm_mode mode) { /* TS 29.118 Section 6.3 */ #define SGS_PORT_DEFAULT 29118 +/* TS 29.118 Section 9.4.13 MME Name */ +#define SGS_MME_NAME_LEN 55 + +/* TS 29.118 Section 9.4.22 VLR name + * See also: RFC1123 Section 2.1 Host Names and Numbers */ +#define SGS_VLR_NAME_MAXLEN 255 + const struct tlv_definition sgsap_ie_tlvdef; |