path: root/openbsc/src/gprs/gb_proxy_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-16split libgb into a separate library for outside useHarald Welte1-1/+2
This also removes the dependency to osmo_sock() inside libcommon and replaces it with osmo_sock_* from libosmocore
2011-11-06gb_proxy: Make sure each parameter has some sort of documentationHolger Hans Peter Freyther1-1/+3
2011-04-18misc: Remove sys/types.h includes from the filesHolger Hans Peter Freyther1-1/+0
These are not needed any more. We used them for u_int types but we now use uint which comes from stdint.h
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-1/+1
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-6/+5
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-05-25Migrate VTY code to libosmovtyHarald Welte1-2/+2
2010-05-23gb_proxy_vty.c: Remove variable that appears to be unusedHolger Hans Peter Freyther1-2/+0
There is no other in_addr inside this file and it appears that we don't use the 'ia' right now and will not use it in the near future.
2010-05-19[GPRS] NS: VTY: Move all local ip/port bind values into 'ns' nodeHarald Welte1-35/+2
This removes the requirement for gb_proxy and sgsn to have duplicate vty parsing code
2010-05-19[SGSN] Gb Proxy: Simplify configurationHarald Welte1-46/+0
Almost all parameters about the SGSNs NS-VC can be specified in the NS protocol node. All that needs to remain in the gbproxy config node is "nsip sgsn nsei XXX".
2010-05-16VTY: decouple telnet_interface from 'struct gsmnet'Harald Welte1-1/+1
We want the VTY and telnet code to be independent from the BSC application(s). As a side note, we also like to eliminate static global variables for 'struct gsm_network' all over the code. As such, telnet_init() is now passed along a "private" pointer, which getst stored in telnet_connection.priv. This telnet_connection is then stored in vty->priv, which in turn gets dereferenced if anyone needs a reference to 'struct gsm_network' from the BSC vty code. Also: * vty_init() now calls cmd_init() * the ugliness that telnet_init() calls back into the application by means of bsc_vty_init() function has been removed. * telnet_init() now returns any errors, so the main program can exit e.g. if the port is already in use.
2010-05-14[VTY] Introduce "end" command that works from any level in configHarald Welte1-0/+1
Using "end" you can always return to the "enable" level, and from there the "show" commands are available. So no more need for exit/exit/exit/exit/disable.
2010-05-14[VTY] Remove OpenBSC specific node-exit handling from src/vtyHarald Welte1-0/+2
The idea is to move the VTY code into libosmocore at some point, and for that we need to eliminate OpenBSC specifics from it
2010-05-12use new install_element_ve()Harald Welte1-2/+1
2010-05-12Make sure all commands of SHOW_NODE to ENABLE_NODEHarald Welte1-0/+1
2010-05-12Gb Proxy: Cosmetic fix of VTY file writingHarald Welte1-6/+6
2010-05-12NS: Add support for persistent NS-VC configurationHarald Welte1-25/+0
With persistent NS-VC configuration (configured through VTY), we can respond properly to BSS with a somewhat strange NS implementation Such as the BSplus. It enables us to respond with a proper NS-RESET (including NSVCI/NSEI) when receiving a NS-ALIVE or other PDU for a BLOCKED/DEAD NS-VC after our end of the connection is rebooted.
2010-05-11[gprs] gb_proxy: More VTY 'show' informationHarald Welte1-2/+3
The 'show gbproxy' now actually shows information about the Gb proxy BTS peers, whereas 'show ns' shows information about existing NS links.
2010-05-04[gprs] Move all GPRS related code to src/gprs subdirectoryHarald Welte1-0/+207