aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 12:15:59 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:11 +0200
commit28570a4e6208e704e8d4feed0081e576d449e4ac (patch)
tree9973dfc34d43345bdc2c954f9f73c445394cd608 /include/osmocom
parent715e94505560236ddba8bfced8d3f775c6363a3b (diff)
new <osmocom/vty/ports.h> file listing VTY tcp ports
imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/vty/ports.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h
new file mode 100644
index 00000000..96bc60a7
--- /dev/null
+++ b/include/osmocom/vty/ports.h
@@ -0,0 +1,14 @@
+#pragma once
+
+/* TCP port numbers used for VTY interfaces in osmocom projects */
+
+#define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */
+#define OSMO_VTY_PORT_BTS 4241 /* also: osmo_pcap_server */
+#define OSMO_VTY_PORT_NITB_BSC 4242
+#define OSMO_VTY_PORT_BSC_MGCP 4243
+#define OSMO_VTY_PORT_BSC_NAT 4244
+#define OSMO_VTY_PORT_SGSN 4245
+#define OSMO_VTY_PORT_GBPROXY 4246
+#define OSMO_VTY_PORT_BB 4247
+/* 4249-2451 used by control interface */
+#define OSMO_VTY_PORT_BTSMGR 4252