summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-20 14:53:37 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-22 08:03:06 +0000
commit98a7a2646bcb561b9f55b4096a0d672d4ed89c87 (patch)
tree79e75aed07f20ef08bc81d0a50deae71593fe27b
parentd5a577b043aab7d27608601ed751e8e17ec5457f (diff)
ports.h: Add VTY and CTRL ports for osmo-trx
Change-Id: Ib79cdb62d45d8c78445c7b064e58eb7e9faeccf9
-rw-r--r--include/osmocom/ctrl/ports.h3
-rw-r--r--include/osmocom/vty/ports.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/ctrl/ports.h b/include/osmocom/ctrl/ports.h
index 4e931901..d6b53945 100644
--- a/include/osmocom/ctrl/ports.h
+++ b/include/osmocom/ctrl/ports.h
@@ -8,6 +8,9 @@
#pragma once
+
+#define OSMO_CTRL_PORT_TRX 4236
+/* 4237 used by VTY interface */
#define OSMO_CTRL_PORT_BTS 4238
#define OSMO_CTRL_PORT_NITB_BSC 4249
#define OSMO_CTRL_PORT_BSC_NAT 4250
diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h
index 4819b87b..5e7e6553 100644
--- a/include/osmocom/vty/ports.h
+++ b/include/osmocom/vty/ports.h
@@ -8,6 +8,8 @@
#pragma once
+/* 4236 used by control interface */
+#define OSMO_VTY_PORT_TRX 4237
/* 4238 used by osmo-bts control interface */
#define OSMO_VTY_PORT_STP 4239
#define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */