Commit 1ed9760b authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

wpcap: Implement pcap_setfilter.

parent 297a69a4
......@@ -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);
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment