From e024869a728b481cd726ce3489a54643ffb57d2b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 5 Aug 2016 15:47:08 +0200 Subject: server: Add zmq based event and data interface to the server To allow easily extracting or streaming the data to an external analysis system, zeromq can be configured (and reconfigured). The system works as fire and forget and no loss detection is present. A simple go based client application is provided to subscribe to the publisher. Change-Id: I4f3e6d675023a81b7d2ee19bf1f44a2be0ca003c --- include/osmo-pcap/osmo_pcap_server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osmo-pcap/osmo_pcap_server.h b/include/osmo-pcap/osmo_pcap_server.h index 3af9ded..5af0838 100644 --- a/include/osmo-pcap/osmo_pcap_server.h +++ b/include/osmo-pcap/osmo_pcap_server.h @@ -58,6 +58,7 @@ struct osmo_pcap_conn { /* Remote connection */ struct osmo_fd rem_fd; int local_fd; + char *curr_filename; /* pcap stuff */ struct pcap_file_header file_hdr; @@ -98,5 +99,6 @@ struct osmo_pcap_conn *osmo_pcap_server_find(struct osmo_pcap_server *ser, const char *name); void osmo_pcap_server_delete(struct osmo_pcap_conn *conn); void vty_server_init(struct osmo_pcap_server *server); +void osmo_pcap_server_close_trace(struct osmo_pcap_conn *conn); #endif -- cgit v1.2.3