aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-05 15:14:59 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-06 21:41:51 +0100
commit2eb6e2c0adf2bd4d38ef47bc69e8c1e29eb3c889 (patch)
tree68a8521abb3ee48e8eccc5bc66fd8d5ee7ea644d
parent3ffcf2045c402b7342685d34e89c996baec31815 (diff)
gb_proxy: Make sure each parameter has some sort of documentation
-rw-r--r--openbsc/include/openbsc/gprs_ns.h2
-rw-r--r--openbsc/src/gprs/gb_proxy_vty.c4
-rw-r--r--openbsc/src/libgb/gprs_ns_vty.c3
3 files changed, 7 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gprs_ns.h b/openbsc/include/openbsc/gprs_ns.h
index 8f28d4623..e26337a69 100644
--- a/openbsc/include/openbsc/gprs_ns.h
+++ b/openbsc/include/openbsc/gprs_ns.h
@@ -90,6 +90,8 @@ enum ns_cause {
"Reset Timer (Tns-reset) timeout\n" \
"Reset Timer (Tns-reset) number of retries\n" \
"Test Timer (Tns-test) timeout\n" \
+ "Alive Timer (Tns-alive) timeout\n" \
+ "Alive Timer (Tns-alive) number of retries\n"
enum ns_timeout {
NS_TOUT_TNS_BLOCK,
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index 1aa4ff505..09395ed6b 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -65,7 +65,9 @@ DEFUN(cfg_gbproxy,
DEFUN(cfg_nsip_sgsn_nsei,
cfg_nsip_sgsn_nsei_cmd,
"sgsn nsei <0-65534>",
- "Set the NSEI to be used in the connection with the SGSN")
+ "SGSN information\n"
+ "NSEI to be used in the connection with the SGSN\n"
+ "The NSEI\n")
{
unsigned int port = atoi(argv[0]);
diff --git a/openbsc/src/libgb/gprs_ns_vty.c b/openbsc/src/libgb/gprs_ns_vty.c
index 14d7691dd..1e485ac9d 100644
--- a/openbsc/src/libgb/gprs_ns_vty.c
+++ b/openbsc/src/libgb/gprs_ns_vty.c
@@ -478,7 +478,8 @@ DEFUN(cfg_frgre_enable, cfg_frgre_enable_cmd,
DEFUN(nsvc_nsei, nsvc_nsei_cmd,
"nsvc nsei <0-65535> (block|unblock|reset)",
"Perform an operation on a NSVC\n"
- "NS-VC Identifier (NS-VCI)\n"
+ "NSEI to identify NS-VC Identifier (NS-VCI)\n"
+ "The NSEI\n"
"Initiate BLOCK procedure\n"
"Initiate UNBLOCK procedure\n"
"Initiate RESET procedure\n")