summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
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