new <osmocom/vty/ports.h> file listing VTY tcp ports

imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers
This commit is contained in:
Harald Welte 2014-08-21 12:15:59 +02:00
parent 715e945055
commit 28570a4e62
2 changed files with 16 additions and 1 deletions

View File

@ -107,7 +107,8 @@ nobase_include_HEADERS += \
osmocom/vty/misc.h \
osmocom/vty/telnet_interface.h \
osmocom/vty/vector.h \
osmocom/vty/vty.h
osmocom/vty/vty.h \
osmocom/vty/ports.h
endif
noinst_HEADERS = \

View File

@ -0,0 +1,14 @@
#pragma once
/* TCP port numbers used for VTY interfaces in osmocom projects */
#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_BSC_NAT 4244
#define OSMO_VTY_PORT_SGSN 4245
#define OSMO_VTY_PORT_GBPROXY 4246
#define OSMO_VTY_PORT_BB 4247
/* 4249-2451 used by control interface */
#define OSMO_VTY_PORT_BTSMGR 4252