Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 1 | /*! \file ports.h |
Neels Hofmeyr | 56313c8 | 2016-09-08 12:58:25 +0200 | [diff] [blame] | 2 | * TCP port numbers used for VTY interfaces in osmocom projects. See also the |
| 3 | * osmocom wiki as well as the osmo-gsm-manuals, which should all be kept in |
| 4 | * sync with this file: |
| 5 | * https://osmocom.org/projects/cellular-infrastructure/wiki/PortNumbers |
| 6 | * https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc |
| 7 | */ |
Harald Welte | 28570a4 | 2014-08-21 12:15:59 +0200 | [diff] [blame] | 8 | |
Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 9 | #pragma once |
| 10 | |
Pau Espin Pedrol | 98a7a26 | 2018-02-20 14:53:37 +0100 | [diff] [blame] | 11 | /* 4236 used by control interface */ |
| 12 | #define OSMO_VTY_PORT_TRX 4237 |
Harald Welte | f39aed6 | 2014-08-24 16:52:12 +0200 | [diff] [blame] | 13 | /* 4238 used by osmo-bts control interface */ |
Harald Welte | f7add08 | 2017-04-08 09:34:04 +0200 | [diff] [blame] | 14 | #define OSMO_VTY_PORT_STP 4239 |
Harald Welte | 28570a4 | 2014-08-21 12:15:59 +0200 | [diff] [blame] | 15 | #define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */ |
| 16 | #define OSMO_VTY_PORT_BTS 4241 /* also: osmo_pcap_server */ |
| 17 | #define OSMO_VTY_PORT_NITB_BSC 4242 |
| 18 | #define OSMO_VTY_PORT_BSC_MGCP 4243 |
Harald Welte | abcd0e3 | 2017-11-17 14:11:17 +0100 | [diff] [blame] | 19 | #define OSMO_VTY_PORT_MGW OSMO_VTY_PORT_BSC_MGCP |
Harald Welte | 28570a4 | 2014-08-21 12:15:59 +0200 | [diff] [blame] | 20 | #define OSMO_VTY_PORT_BSC_NAT 4244 |
| 21 | #define OSMO_VTY_PORT_SGSN 4245 |
| 22 | #define OSMO_VTY_PORT_GBPROXY 4246 |
| 23 | #define OSMO_VTY_PORT_BB 4247 |
Neels Hofmeyr | 667e83d | 2015-11-02 20:18:11 +0100 | [diff] [blame] | 24 | /* 4249-4251 used by control interface */ |
Harald Welte | 28570a4 | 2014-08-21 12:15:59 +0200 | [diff] [blame] | 25 | #define OSMO_VTY_PORT_BTSMGR 4252 |
Neels Hofmeyr | 07cf861 | 2015-11-02 20:18:33 +0100 | [diff] [blame] | 26 | #define OSMO_VTY_PORT_GTPHUB 4253 |
Neels Hofmeyr | fa5dc93 | 2017-02-23 20:52:18 +0100 | [diff] [blame] | 27 | #define OSMO_VTY_PORT_MSC 4254 |
Neels Hofmeyr | 8684714 | 2016-02-15 12:02:02 +0100 | [diff] [blame] | 28 | /* 4255 used by control interface */ |
Holger Hans Peter Freyther | 793a290 | 2016-03-23 14:48:39 +0100 | [diff] [blame] | 29 | #define OSMO_VTY_PORT_MNCC_SIP 4256 |
Neels Hofmeyr | 1a587bd | 2016-09-08 12:59:08 +0200 | [diff] [blame] | 30 | /* 4257 used by control interface */ |
Neels Hofmeyr | 92fa18e | 2017-01-28 04:02:53 +0100 | [diff] [blame] | 31 | #define OSMO_VTY_PORT_HLR 4258 |
Harald Welte | bd3bb13 | 2017-08-16 23:39:08 +0200 | [diff] [blame] | 32 | /* 4259 used by control interface */ |
| 33 | #define OSMO_VTY_PORT_GGSN 4260 |
Neels Hofmeyr | 58a5665 | 2017-12-20 02:26:44 +0100 | [diff] [blame] | 34 | #define OSMO_VTY_PORT_HNBGW 4261 |
Daniel Willmann | 07f075d | 2018-05-29 20:55:18 +0200 | [diff] [blame] | 35 | /* 4262-4263 used by control interface */ |
Harald Welte | 3e323a2 | 2019-05-05 16:30:52 +0200 | [diff] [blame] | 36 | #define OSMO_VTY_PORT_CBC 4264 |
Neels Hofmeyr | 4a7f87c | 2017-01-30 12:57:47 +0100 | [diff] [blame] | 37 | /* When adding/changing port numbers, keep docs and wiki in sync. See above. */ |