summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 12:17:11 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:19 +0200
commitc7947ed1f6fe8a9113451fbd1e58078a98ee4912 (patch)
treecb99623089b2ee978115bc94d16aa903b6cd2a47 /include
parentae2fcb22cfa81fe3934d4adaac68887001ab3a91 (diff)
New <osmocom/ctrl/ports.h> file listing tcp ports for CTRL interface
Diffstat (limited to 'include')
-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