From 2eb6e2c0adf2bd4d38ef47bc69e8c1e29eb3c889 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 5 Nov 2011 15:14:59 +0100 Subject: gb_proxy: Make sure each parameter has some sort of documentation --- openbsc/include/openbsc/gprs_ns.h | 2 ++ openbsc/src/gprs/gb_proxy_vty.c | 4 +++- openbsc/src/libgb/gprs_ns_vty.c | 3 ++- 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") -- cgit v1.2.3