aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy_vty.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-19 13:30:14 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-10-09 17:43:53 +0200
commit9a7b0d564107cb0d78a1596f595d096579562a48 (patch)
tree52c2fe80b3d683bfb512076746837e9e71f75587 /openbsc/src/gprs/gb_proxy_vty.c
parent9a6b7635071d7956a65c86ba9566eabd82865c55 (diff)
gbproxy: Rename functions related to tlli_info
This patch replaces 'tlli' by 'tlli_info' within the following function identifiers: - gbproxy_delete_tlli - gbproxy_delete_tllis - gbproxy_remove_stale_tllis - gbproxy_touch_tlli - gbproxy_unregister_tlli - gbproxy_remove_matching_tllis - gbproxy_find_tlli -> gbproxy_tlli_info_by_tlli - gbproxy_find_tlli_by_* -> gbproxy_tlli_info_by_* These functions refer to the whole logical link info rather than to a certain TLLI. So they are renamed to be named consistently with gbproxy_attach_tlli_info and others. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_vty.c')
-rw-r--r--openbsc/src/gprs/gb_proxy_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index da615630e..72469da21 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -643,7 +643,7 @@ DEFUN(delete_gb_tlli_by_id, delete_gb_tlli_by_id_cmd,
vty_out(vty, "Deleting TLLI %08x%s", tlli_info->tlli.current,
VTY_NEWLINE);
- gbproxy_delete_tlli(peer, tlli_info);
+ gbproxy_delete_tlli_info(peer, tlli_info);
found += 1;
}
@@ -680,7 +680,7 @@ DEFUN(delete_gb_tlli, delete_gb_tlli_cmd,
state = &peer->patch_state;
if (match == MATCH_STALE) {
- found = gbproxy_remove_stale_tllis(peer, time(NULL));
+ found = gbproxy_remove_stale_tlli_infos(peer, time(NULL));
if (found)
vty_out(vty, "Deleted %d stale TLLI%s%s",
found, found == 1 ? "" : "s", VTY_NEWLINE);
@@ -690,7 +690,7 @@ DEFUN(delete_gb_tlli, delete_gb_tlli_cmd,
if (!tlli_info->is_deregistered)
continue;
- gbproxy_delete_tlli(peer, tlli_info);
+ gbproxy_delete_tlli_info(peer, tlli_info);
found += 1;
}
}