aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-02-07 14:57:06 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-02-08 13:44:48 +0100
commitbe807e4250dfcde9ad65508ce10647487694f6b3 (patch)
tree89683855830c7a7836a9877e5f2ab44b086ea866 /openbsc/include/vty
parent71ddbf5c4f75b361c04d37e0de5514fe7f390496 (diff)
[nat] Add VTY support to the BSC nat application
* Create struct bsc_nat and move the various lists into this structure * Create the VTY code * Call the VTY init and parsing code * Create functions to create the types.. * Add some stuff into the bsc_connection to be used for the NAT with proper config files. E.g. to close the connection if the BSC does not respond to a given command.
Diffstat (limited to 'openbsc/include/vty')
-rw-r--r--openbsc/include/vty/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/vty/command.h b/openbsc/include/vty/command.h
index 10a60add5..dc12c5258 100644
--- a/openbsc/include/vty/command.h
+++ b/openbsc/include/vty/command.h
@@ -107,6 +107,8 @@ enum node_type {
TS_NODE,
SUBSCR_NODE,
MGCP_NODE,
+ NAT_NODE,
+ BSC_NODE,
};
/* Node which has some commands and prompt string and configuration