blob: f974daf4e209a70e742dd4b2c486a38969bf578f [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 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 Weltec7947ed2014-08-21 12:17:11 +02008
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02009#pragma once
10
Harald Weltef39aed62014-08-24 16:52:12 +020011#define OSMO_CTRL_PORT_BTS 4238
Harald Weltec7947ed2014-08-21 12:17:11 +020012#define OSMO_CTRL_PORT_NITB_BSC 4249
13#define OSMO_CTRL_PORT_BSC_NAT 4250
14#define OSMO_CTRL_PORT_SGSN 4251
Neels Hofmeyr56313c82016-09-08 12:58:25 +020015/* 4252-4254 used by VTY interface */
Neels Hofmeyrfa5dc932017-02-23 20:52:18 +010016#define OSMO_CTRL_PORT_MSC 4255
Neels Hofmeyr56313c82016-09-08 12:58:25 +020017/* 4256 used by VTY interface */
Neels Hofmeyr1a587bd2016-09-08 12:59:08 +020018#define OSMO_CTRL_PORT_GGSN 4257
Maxaf4bb172017-02-14 12:13:32 +010019#define OSMO_CTRL_PORT_HLR 4259
Neels Hofmeyr4a7f87c2017-01-30 12:57:47 +010020/* When adding/changing port numbers, keep docs and wiki in sync. See above. */