aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-08 12:58:25 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-09 16:22:39 +0200
commit56313c84c8e68541374ca744d8b7a6eb470ecbde (patch)
tree4a72850dc197dcfe88d34330eab49bd9412be8e5 /include
parentc69de3e25cb0fe651293e64a68ba35e936c50ff3 (diff)
comment: */ports.h: link to wiki + manuals, indicate used ports
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/ctrl/ports.h10
-rw-r--r--include/osmocom/vty/ports.h8
2 files changed, 16 insertions, 2 deletions
diff --git a/include/osmocom/ctrl/ports.h b/include/osmocom/ctrl/ports.h
index c89bbe34..9642193f 100644
--- a/include/osmocom/ctrl/ports.h
+++ b/include/osmocom/ctrl/ports.h
@@ -1,10 +1,18 @@
#pragma once
-/* TCP port numbers used for CTRL interfaces in osmocom projects */
+/*
+ * TCP port numbers used for CTRL interfaces in osmocom projects. See also the
+ * osmocom wiki as well as the osmo-gsm-manuals, which should all be kept in
+ * sync with this file:
+ * https://osmocom.org/projects/cellular-infrastructure/wiki/PortNumbers
+ * https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc
+ */
#define OSMO_CTRL_PORT_BTS 4238
#define OSMO_CTRL_PORT_NITB_BSC 4249
#define OSMO_CTRL_PORT_BSC_NAT 4250
#define OSMO_CTRL_PORT_SGSN 4251
#define OSMO_CTRL_PORT_GGSN 4252
+/* 4252-4254 used by VTY interface */
#define OSMO_CTRL_PORT_CSCN 4255
+/* 4256 used by VTY interface */
diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h
index 75b80440..b1355156 100644
--- a/include/osmocom/vty/ports.h
+++ b/include/osmocom/vty/ports.h
@@ -1,6 +1,12 @@
#pragma once
-/* TCP port numbers used for VTY interfaces in osmocom projects */
+/*
+ * TCP port numbers used for VTY interfaces in osmocom projects. See also the
+ * osmocom wiki as well as the osmo-gsm-manuals, which should all be kept in
+ * sync with this file:
+ * https://osmocom.org/projects/cellular-infrastructure/wiki/PortNumbers
+ * https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc
+ */
/* 4238 used by osmo-bts control interface */
#define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */