wpcap: Implement pcap_setfilter.

oldstable
André Hentschel 2014-08-12 00:35:45 +02:00 committed by Alexandre Julliard
parent 297a69a4b5
commit 1ed9760bdf
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -65,7 +65,7 @@
@ stub pcap_sendqueue_transmit
@ stub pcap_set_datalink
@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff
@ stub pcap_setfilter
@ cdecl pcap_setfilter(ptr ptr) wine_pcap_setfilter
@ stub pcap_setmintocopy
@ stub pcap_setmode
@ stub pcap_setnonblock