summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/Makefile.am1
-rw-r--r--include/osmocom/ctrl/ports.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 6f14cb08..c59f9b21 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -39,6 +39,7 @@ nobase_include_HEADERS = \
osmocom/crypt/gprs_cipher.h \
osmocom/ctrl/control_cmd.h \
osmocom/ctrl/control_if.h \
+ osmocom/ctrl/ports.h \
osmocom/gprs/gprs_bssgp.h \
osmocom/gprs/gprs_bssgp_bss.h \
osmocom/gprs/gprs_msgb.h \
diff --git a/include/osmocom/ctrl/ports.h b/include/osmocom/ctrl/ports.h
new file mode 100644
index 00000000..6d154068
--- /dev/null
+++ b/include/osmocom/ctrl/ports.h
@@ -0,0 +1,7 @@
+#pragma once
+
+/* TCP port numbers used for CTRL interfaces in osmocom projects */
+
+#define OSMO_CTRL_PORT_NITB_BSC 4249
+#define OSMO_CTRL_PORT_BSC_NAT 4250
+#define OSMO_CTRL_PORT_SGSN 4251