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 CTRL 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 | c7947ed | 2014-08-21 12:17:11 +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 | |
| 12 | #define OSMO_CTRL_PORT_TRX 4236 |
| 13 | /* 4237 used by VTY interface */ |
Harald Welte | f39aed6 | 2014-08-24 16:52:12 +0200 | [diff] [blame] | 14 | #define OSMO_CTRL_PORT_BTS 4238 |
Harald Welte | c7947ed | 2014-08-21 12:17:11 +0200 | [diff] [blame] | 15 | #define OSMO_CTRL_PORT_NITB_BSC 4249 |
| 16 | #define OSMO_CTRL_PORT_BSC_NAT 4250 |
| 17 | #define OSMO_CTRL_PORT_SGSN 4251 |
Neels Hofmeyr | 56313c8 | 2016-09-08 12:58:25 +0200 | [diff] [blame] | 18 | /* 4252-4254 used by VTY interface */ |
Neels Hofmeyr | fa5dc93 | 2017-02-23 20:52:18 +0100 | [diff] [blame] | 19 | #define OSMO_CTRL_PORT_MSC 4255 |
Neels Hofmeyr | 56313c8 | 2016-09-08 12:58:25 +0200 | [diff] [blame] | 20 | /* 4256 used by VTY interface */ |
Neels Hofmeyr | 1a587bd | 2016-09-08 12:59:08 +0200 | [diff] [blame] | 21 | #define OSMO_CTRL_PORT_GGSN 4257 |
Max | af4bb17 | 2017-02-14 12:13:32 +0100 | [diff] [blame] | 22 | #define OSMO_CTRL_PORT_HLR 4259 |
Neels Hofmeyr | 58a5665 | 2017-12-20 02:26:44 +0100 | [diff] [blame] | 23 | #define OSMO_CTRL_PORT_HNBGW 4262 |
Daniel Willmann | 07f075d | 2018-05-29 20:55:18 +0200 | [diff] [blame] | 24 | #define OSMO_CTRL_PORT_GBPROXY 4263 |
Neels Hofmeyr | 4a7f87c | 2017-01-30 12:57:47 +0100 | [diff] [blame] | 25 | /* When adding/changing port numbers, keep docs and wiki in sync. See above. */ |