aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gtphub.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-20 03:16:19 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 11:39:41 +0100
commit4b2cbdab3e29dfbd8c4b5f9d44a9a63e7553253d (patch)
tree5cd3e3d08dd81148f96b2ce1addd905a37cd1f22 /openbsc/include/openbsc/gtphub.h
parent1ba50c659801fd8ba811dd898236134c0f0a7011 (diff)
gtphub: first vty show commands.
Start adding VTY commands to show rate counters / statistics / cache dumps. Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/include/openbsc/gtphub.h')
-rw-r--r--openbsc/include/openbsc/gtphub.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h
index 0b85d82b3..cf1bfe894 100644
--- a/openbsc/include/openbsc/gtphub.h
+++ b/openbsc/include/openbsc/gtphub.h
@@ -373,6 +373,7 @@ struct gtphub_peer_port {
struct gtphub_bind {
struct gsn_addr local_addr;
+ uint16_t local_port;
struct osmo_fd ofd;
/* list of struct gtphub_peer */
@@ -428,7 +429,7 @@ struct gtp_packet_desc;
/* api */
-int gtphub_vty_init(void);
+int gtphub_vty_init(struct gtphub *global_hub, struct gtphub_cfg *global_cfg);
int gtphub_cfg_read(struct gtphub_cfg *cfg, const char *config_file);
/* Initialize and start gtphub: bind to ports, run expiry timers. */