aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-21 15:55:28 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-22 11:31:06 +0000
commitb970e1023d177991d78e71c9aae7d0caaa2fecd2 (patch)
tree9a37132ada1f8f6a88e33d83cf5f1f06b19cf77f
parent5cfa6dc99324b86a104c697e3ffe8f6d82bd3a22 (diff)
GSUP: define default GSUP port as 4222
See also: https://osmocom.org/projects/cellular-infrastructure/wiki/Port_Numbers https://gerrit.osmocom.org/#/c/3195/2/include/openbsc/osmo_msc.h@13 (change-id I639544a6cdda77a3aafc4e3446a55393f60e4050) Change-Id: I4222e21686c823985be8ff1f16b1182be8ad6175
-rw-r--r--include/osmocom/gsm/gsup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h
index 890bff32..36e5c841 100644
--- a/include/osmocom/gsm/gsup.h
+++ b/include/osmocom/gsm/gsup.h
@@ -27,6 +27,8 @@
#include <osmocom/gsm/protocol/gsm_04_08_gprs.h>
#include <osmocom/crypt/auth.h>
+#define OSMO_GSUP_PORT 4222
+
/*! Maximum nubmer of PDP inside \ref osmo_gsup_message */
#define OSMO_GSUP_MAX_NUM_PDP_INFO 10 /* GSM 09.02 limits this to 50 */
/*! Maximum number of auth info inside \ref osmo_gsup_message */