aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-16 13:45:13 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-16 15:17:00 +0100
commit390e9101253331b58297a3526ea2fed0982815c8 (patch)
tree7c0fef7e0bf0f5bc0f9b3d1a5bcdfa66d949487a /openbsc/include
parenta208c734a20a525a897b7a7184361da61604208e (diff)
gtphub: add logging labels to bind struct.
Allow logging the plane (Ctrl/User) and side (SGSN/GGSN) in functions that only have a gtphub_bind* to work with, by adding a constant label to each bind. Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gtphub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h
index a0125669d..bf5bc9ec8 100644
--- a/openbsc/include/openbsc/gtphub.h
+++ b/openbsc/include/openbsc/gtphub.h
@@ -370,6 +370,8 @@ struct gtphub_bind {
/* list of struct gtphub_peer */
struct llist_head peers;
+
+ const char *label; /* For logging */
};
struct gtphub_resolved_ggsn {