aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/ctrl/ports.h
blob: b4bceef35ed3337b255698e0f1d1aa40ba565e04 (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
37
/*! \file ports.h
 * 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
 */

#pragma once


#define OSMO_CTRL_PORT_TRX	4236
/* 4237 used by VTY interface */
#define OSMO_CTRL_PORT_BTS	4238
#define OSMO_CTRL_PORT_BSC_NEIGH 4248 /* osmo-bsc Neighbor Resloution Service */
#define OSMO_CTRL_PORT_NITB_BSC	4249
#define OSMO_CTRL_PORT_BSC_NAT	4250
#define OSMO_CTRL_PORT_SGSN	4251
/* 4252-4254 used by VTY interface */
#define OSMO_CTRL_PORT_MSC	4255
/* 4256 used by VTY interface */
#define OSMO_CTRL_PORT_GGSN	4257
#define OSMO_CTRL_PORT_HLR	4259
#define OSMO_CTRL_PORT_HNBGW	4262
#define OSMO_CTRL_PORT_GBPROXY	4263
/* 4264 used by VTY interface */
#define OSMO_CTRL_PORT_CBC	4265
/* 4266 used by D-GSM mDNS */
#define OSMO_CTRL_PORT_MGW	4267
#define OSMO_CTRL_PORT_SMLC	4272
/* 4273 used by VTY interface */
#define OSMO_CTRL_PORT_HNODEB	4274
/* 4275: OSMO_VTY_PORT_UPF */
#define OSMO_CTRL_PORT_UPF	4276
/* 4277: OSMO_VTY_PORT_PFCP_TOOL */
#define OSMO_CTRL_PORT_PFCP_TOOL	4278
/* When adding/changing port numbers, keep docs and wiki in sync. See above. */