wpcap: Implement pcap_snapshot.

This commit is contained in:
André Hentschel 2014-08-15 21:54:03 +02:00 committed by Alexandre Julliard
parent 03d067183f
commit eaad4fea89
2 changed files with 7 additions and 1 deletions

View File

@ -118,6 +118,12 @@ int CDECL wine_pcap_setfilter(pcap_t *p, struct bpf_program *fp)
return pcap_setfilter(p, fp);
}
int CDECL wine_pcap_snapshot(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_snapshot(p);
}
int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps)
{
TRACE("(%p %p)\n", p, ps);

View File

@ -71,7 +71,7 @@
@ stub pcap_setnonblock
@ stub pcap_setsampling
@ stub pcap_setuserbuffer
@ stub pcap_snapshot
@ cdecl pcap_snapshot(ptr) wine_pcap_snapshot
@ cdecl pcap_stats(ptr ptr) wine_pcap_stats
@ stub pcap_stats_ex
@ stub pcap_strerror