diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 3 | ||||
-rw-r--r-- | include/osmocom/vty/ports.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 7484e9ea..03d21f46 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -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 = \ diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h new file mode 100644 index 00000000..96bc60a7 --- /dev/null +++ b/include/osmocom/vty/ports.h @@ -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 |