aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-pcap/osmo_pcap_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-pcap/osmo_pcap_client.h')
-rw-r--r--include/osmo-pcap/osmo_pcap_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-pcap/osmo_pcap_client.h b/include/osmo-pcap/osmo_pcap_client.h
index 7888dfe..70be8db 100644
--- a/include/osmo-pcap/osmo_pcap_client.h
+++ b/include/osmo-pcap/osmo_pcap_client.h
@@ -94,6 +94,7 @@ struct osmo_pcap_client {
char *filter_string;
int filter_itself;
int gprs_filtering;
+ int snaplen;
struct osmo_fd fd;
struct osmo_pcap_client_conn conn;
@@ -105,6 +106,7 @@ struct osmo_pcap_client {
extern struct osmo_pcap_client *pcap_client;
+struct osmo_pcap_client *osmo_pcap_client_alloc(void *tall_ctx);
int vty_client_init(struct osmo_pcap_client *);
int osmo_client_capture(struct osmo_pcap_client *client, const char *device);