wpcap: Implement pcap_snapshot.
This commit is contained in:
parent
03d067183f
commit
eaad4fea89
|
@ -118,6 +118,12 @@ int CDECL wine_pcap_setfilter(pcap_t *p, struct bpf_program *fp)
|
||||||
return pcap_setfilter(p, 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)
|
int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps)
|
||||||
{
|
{
|
||||||
TRACE("(%p %p)\n", p, ps);
|
TRACE("(%p %p)\n", p, ps);
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
@ stub pcap_setnonblock
|
@ stub pcap_setnonblock
|
||||||
@ stub pcap_setsampling
|
@ stub pcap_setsampling
|
||||||
@ stub pcap_setuserbuffer
|
@ stub pcap_setuserbuffer
|
||||||
@ stub pcap_snapshot
|
@ cdecl pcap_snapshot(ptr) wine_pcap_snapshot
|
||||||
@ cdecl pcap_stats(ptr ptr) wine_pcap_stats
|
@ cdecl pcap_stats(ptr ptr) wine_pcap_stats
|
||||||
@ stub pcap_stats_ex
|
@ stub pcap_stats_ex
|
||||||
@ stub pcap_strerror
|
@ stub pcap_strerror
|
||||||
|
|
Loading…
Reference in New Issue