libosmocore/include/osmocom
Holger Hans Peter Freyther 99ae401e49 vty: Make TCP port configurable and introduce telnet_init_default
Extend the vty_bind_cmd VTY command to allow to optionally specify
a port in addition to the IPv4 address.

Introduce telnet_init_default to relieve client code from having
to query the bind IPv4 address (and now the TCP port). Instead a
client only needs to pass the default TCP port to use.

Client code should use it like:

	int rc = telnet_init_default(ctx, priv, OSMO_VTY_PORT_SGSN);

Change-Id: Id5fb2faaf4311bd7284ee870526a6f87b7e260f3
2018-12-23 04:20:08 +00:00
..
codec libosmocodec: implement ECU (Error Concealment Unit) for FR 2018-01-15 20:12:03 +00:00
coding coding: Add BER-reporting RACH decode functions 2018-02-26 12:26:38 +01:00
core add to osmo_sock_get_name*() API 2018-12-19 03:25:55 +01:00
crypt Use define for key buffers 2018-12-20 09:51:02 +00:00
ctrl ctrl: use #define for TRAP id 2018-12-03 21:42:51 +00:00
gprs add/clean big-endian packed structs (struct_endianess.py) 2018-12-19 18:40:03 +00:00
gsm GSUP: add CHECK-IMEI message 2018-12-21 13:13:30 +01:00
sim doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
vty vty: Make TCP port configurable and introduce telnet_init_default 2018-12-23 04:20:08 +00:00