diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-01-18 15:57:48 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:09 +0100 |
commit | 712074cb171a9139a40d564a35a07b59871c2389 (patch) | |
tree | d29c4ef80580987d46984a1ca2e1cdf118a0430f /openbsc/src/gprs/iu.c | |
parent | a34aedf7f92b240e591098e7868513db244bd7b3 (diff) |
cosmetic: a rename, comments.
Rename conn_ctx_list -> ue_conn_ctx_list.
Indicate Iu-CS 'siblings' for a couple of functions.
Tweak/add comments.
Diffstat (limited to 'openbsc/src/gprs/iu.c')
-rw-r--r-- | openbsc/src/gprs/iu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gprs/iu.c b/openbsc/src/gprs/iu.c index 56614d10f..f30d844ac 100644 --- a/openbsc/src/gprs/iu.c +++ b/openbsc/src/gprs/iu.c @@ -33,7 +33,7 @@ void *talloc_asn1_ctx; iu_recv_cb_t global_iu_recv_cb = NULL; -static LLIST_HEAD(conn_ctx_list); +static LLIST_HEAD(ue_conn_ctx_list); struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sua_link *link, uint32_t conn_id) { @@ -41,7 +41,7 @@ struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sua_link *link, uint32_t conn_ ctx->link = link; ctx->conn_id = conn_id; - llist_add(&ctx->list, &conn_ctx_list); + llist_add(&ctx->list, &ue_conn_ctx_list); return ctx; } @@ -50,7 +50,7 @@ struct ue_conn_ctx *ue_conn_ctx_find(struct osmo_sua_link *link, uint32_t conn_i { struct ue_conn_ctx *ctx; - llist_for_each_entry(ctx, &conn_ctx_list, list) { + llist_for_each_entry(ctx, &ue_conn_ctx_list, list) { if (ctx->link == link && ctx->conn_id == conn_id) return ctx; } |