aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-12-07 10:36:28 +0100
committerdexter <pmaier@sysmocom.de>2018-12-07 12:03:44 +0000
commitf98c78ec4a4c1da77ceaee32490719be9b36d50c (patch)
treecee2ce483c95d9e65f95da8239927074e0926421
parent8a942d27b6d300e1a702401e9a5d4e97be15da77 (diff)
gsm_29_118.h: Add constant for default port
The specification defines a default port where the SGs interface should be reachable. Lets add a define-constant for it. Change-Id: Ia4b9f547dd980411d15b2691b7f535fa0463f0f1 Related: OS#3615
-rw-r--r--include/osmocom/gsm/protocol/gsm_29_118.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_29_118.h b/include/osmocom/gsm/protocol/gsm_29_118.h
index 97a9c431..70f15003 100644
--- a/include/osmocom/gsm/protocol/gsm_29_118.h
+++ b/include/osmocom/gsm/protocol/gsm_29_118.h
@@ -170,4 +170,7 @@ static inline const char *sgsap_ue_emm_mode_name(enum sgsap_ue_emm_mode mode) {
#define SGS_NS10_DEFAULT 2
#define SGS_NS12_DEFAULT 2
+/* TS 29.118 Section 6.3 */
+#define SGS_PORT_DEFAULT 29118
+
const struct tlv_definition sgsap_ie_tlvdef;