Module: wine Branch: master Commit: 5d0e67855d73c45e244ac9ea1b8bd6a0613b946a URL: http://source.winehq.org/git/wine.git/?a=commit;h=5d0e67855d73c45e244ac9ea1b...
Author: André Hentschel nerv@dawncrow.de Date: Tue Aug 12 00:30:47 2014 +0200
wpcap: Implement pcap_stats.
---
dlls/wpcap/wpcap.c | 6 ++++++ dlls/wpcap/wpcap.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index 3639de4..0393ad1 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -73,3 +73,9 @@ pcap_t* CDECL wine_pcap_open_live(const char *source, int snaplen, int promisc, TRACE("(%p %i %i %i %p)\n", source, snaplen, promisc, to_ms, errbuf); return pcap_open_live(source, snaplen, promisc, to_ms, errbuf); } + +int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps) +{ + TRACE("(%p %p)\n", p, ps); + return pcap_stats(p, ps); +} diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec index 2a87fba..5186276 100644 --- a/dlls/wpcap/wpcap.spec +++ b/dlls/wpcap/wpcap.spec @@ -72,7 +72,7 @@ @ stub pcap_setsampling @ stub pcap_setuserbuffer @ stub pcap_snapshot -@ stub pcap_stats +@ cdecl pcap_stats(ptr ptr) wine_pcap_stats @ stub pcap_stats_ex @ stub pcap_strerror @ stub wsockinit