wpcap: Implement pcap_set_datalink.

This commit is contained in:
André Hentschel 2014-08-18 23:57:01 +02:00 committed by Alexandre Julliard
parent e227f7d84d
commit e5e8760591
2 changed files with 7 additions and 1 deletions

View File

@ -196,6 +196,12 @@ pcap_t* CDECL wine_pcap_open_live(const char *source, int snaplen, int promisc,
return pcap_open_live(source, snaplen, promisc, to_ms, errbuf);
}
int CDECL wine_pcap_set_datalink(pcap_t *p, int dlt)
{
TRACE("(%p %i)\n", p, dlt);
return pcap_set_datalink(p, dlt);
}
int CDECL wine_pcap_setbuff(pcap_t * p, int dim)
{
FIXME("(%p %i) stub\n", p, dim);

View File

@ -63,7 +63,7 @@
@ stub pcap_sendqueue_destroy
@ stub pcap_sendqueue_queue
@ stub pcap_sendqueue_transmit
@ stub pcap_set_datalink
@ cdecl pcap_set_datalink(ptr long) wine_pcap_set_datalink
@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff
@ cdecl pcap_setfilter(ptr ptr) wine_pcap_setfilter
@ stub pcap_setmintocopy