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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmo-pcap/osmo_pcap_client.h b/include/osmo-pcap/osmo_pcap_client.h
index b4dda78..7888dfe 100644
--- a/include/osmo-pcap/osmo_pcap_client.h
+++ b/include/osmo-pcap/osmo_pcap_client.h
@@ -46,6 +46,11 @@ enum {
CLIENT_CTR_P_IFDROP,
};
+enum osmo_pcap_protocol {
+ PROTOCOL_OSMOPCAP,
+ PROTOCOL_IPIP,
+};
+
struct osmo_pcap_client_conn {
struct llist_head entry;
const char *name;
@@ -55,6 +60,7 @@ struct osmo_pcap_client_conn {
char *source_ip;
struct osmo_wqueue wqueue;
struct osmo_timer_list timer;
+ enum osmo_pcap_protocol protocol;
/* TLS handling */
bool tls_on;