From 4b2cbdab3e29dfbd8c4b5f9d44a9a63e7553253d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 20 Nov 2015 03:16:19 +0100 Subject: gtphub: first vty show commands. Start adding VTY commands to show rate counters / statistics / cache dumps. Sponsored-by: On-Waves ehi --- openbsc/include/openbsc/gtphub.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/include') 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. */ -- cgit v1.2.3