blob: 580e642818f721da2dccb1500cdbf39fe2ae6e6b [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file ports.h
Neels Hofmeyr56313c82016-09-08 12:58:25 +02002 * 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 Welte28570a42014-08-21 12:15:59 +02008
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02009#pragma once
10
Oliver Smith6a138892021-08-05 19:01:49 +020011#define OSMO_VTY_PORT_PCAP_CLIENT 4227
12#define OSMO_VTY_PORT_PCAP_SERVER 4228
Pau Espin Pedrol98a7a262018-02-20 14:53:37 +010013/* 4236 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020014#define OSMO_VTY_PORT_TRX 4237
Harald Weltef39aed62014-08-24 16:52:12 +020015/* 4238 used by osmo-bts control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020016#define OSMO_VTY_PORT_STP 4239
Oliver Smith6a138892021-08-05 19:01:49 +020017#define OSMO_VTY_PORT_PCU 4240
18#define OSMO_VTY_PORT_BTS 4241
Oliver Smithd8f89192021-08-06 16:11:16 +020019#define OSMO_VTY_PORT_NITB_BSC 4242
20#define OSMO_VTY_PORT_BSC_MGCP 4243
21#define OSMO_VTY_PORT_MGW OSMO_VTY_PORT_BSC_MGCP
22#define OSMO_VTY_PORT_BSC_NAT 4244
23#define OSMO_VTY_PORT_SGSN 4245
24#define OSMO_VTY_PORT_GBPROXY 4246
25#define OSMO_VTY_PORT_BB 4247
Neels Hofmeyr667e83d2015-11-02 20:18:11 +010026/* 4249-4251 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020027#define OSMO_VTY_PORT_BTSMGR 4252
28#define OSMO_VTY_PORT_GTPHUB 4253
29#define OSMO_VTY_PORT_MSC 4254
Neels Hofmeyr86847142016-02-15 12:02:02 +010030/* 4255 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020031#define OSMO_VTY_PORT_MNCC_SIP 4256
Neels Hofmeyr1a587bd2016-09-08 12:59:08 +020032/* 4257 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020033#define OSMO_VTY_PORT_HLR 4258
Harald Weltebd3bb132017-08-16 23:39:08 +020034/* 4259 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020035#define OSMO_VTY_PORT_GGSN 4260
36#define OSMO_VTY_PORT_HNBGW 4261
Daniel Willmann07f075d2018-05-29 20:55:18 +020037/* 4262-4263 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020038#define OSMO_VTY_PORT_CBC 4264
39#define OSMO_VTY_PORT_UECUPS 4268
40#define OSMO_VTY_PORT_E1D 4269
41#define OSMO_VTY_PORT_SMLC 4271
Neels Hofmeyr4a7f87c2017-01-30 12:57:47 +010042/* When adding/changing port numbers, keep docs and wiki in sync. See above. */