summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/ports.h
blob: 5a8faedd9f5bd2514396a5617b8d0d5ad2d3db54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*! \file ports.h
 * 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
 */

#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 */
#define OSMO_VTY_PORT_BTS	4241	/* also: osmo_pcap_server */
#define OSMO_VTY_PORT_NITB_BSC	4242
#define OSMO_VTY_PORT_BSC_MGCP	4243
#define OSMO_VTY_PORT_MGW	OSMO_VTY_PORT_BSC_MGCP
#define OSMO_VTY_PORT_BSC_NAT	4244
#define OSMO_VTY_PORT_SGSN	4245
#define OSMO_VTY_PORT_GBPROXY	4246
#define OSMO_VTY_PORT_BB	4247
/* 4249-4251 used by control interface */
#define OSMO_VTY_PORT_BTSMGR	4252
#define OSMO_VTY_PORT_GTPHUB	4253
#define OSMO_VTY_PORT_MSC	4254
/* 4255 used by control interface */
#define OSMO_VTY_PORT_MNCC_SIP	4256
/* 4257 used by control interface */
#define OSMO_VTY_PORT_HLR	4258
/* 4259 used by control interface */
#define OSMO_VTY_PORT_GGSN	4260
#define OSMO_VTY_PORT_HNBGW	4261
/* 4262-4263 used by control interface */
/* When adding/changing port numbers, keep docs and wiki in sync. See above. */