diff options
Diffstat (limited to 'include/osmo-pcap/osmo_pcap_server.h')
-rw-r--r-- | include/osmo-pcap/osmo_pcap_server.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmo-pcap/osmo_pcap_server.h b/include/osmo-pcap/osmo_pcap_server.h index 66ec99e..fbfadfd 100644 --- a/include/osmo-pcap/osmo_pcap_server.h +++ b/include/osmo-pcap/osmo_pcap_server.h @@ -26,17 +26,25 @@ #include <osmocom/core/select.h> #include <osmocom/core/linuxlist.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include <pcap.h> #include <time.h> +struct osmo_pcap_server; + struct osmo_pcap_conn { /* list of connections */ struct llist_head entry; + struct osmo_pcap_server *server; /* name */ char *name; char *remote_host; + struct in_addr remote_addr; /* Remote connection */ struct osmo_fd rem_fd; |