From f98c78ec4a4c1da77ceaee32490719be9b36d50c Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 7 Dec 2018 10:36:28 +0100 Subject: 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 --- include/osmocom/gsm/protocol/gsm_29_118.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/osmocom/gsm') 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; -- cgit v1.2.3