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
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index da61563..72469da 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -643,7 +643,7 @@
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 @@
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 @@
if (!tlli_info->is_deregistered)
continue;
- gbproxy_delete_tlli(peer, tlli_info);
+ gbproxy_delete_tlli_info(peer, tlli_info);
found += 1;
}
}