wpcap: Implement pcap_sendpacket.

oldstable
André Hentschel 2014-08-19 00:01:25 +02:00 committed by Alexandre Julliard
parent 1c6902679b
commit 1c460fcd63
2 changed files with 7 additions and 1 deletions

View File

@ -232,6 +232,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_sendpacket(pcap_t *p, const unsigned char *buf, int size)
{
TRACE("(%p %p %i)\n", p, buf, size);
return pcap_sendpacket(p, buf, size);
}
int CDECL wine_pcap_set_datalink(pcap_t *p, int dlt)
{
TRACE("(%p %i)\n", p, dlt);

View File

@ -58,7 +58,7 @@
@ stub pcap_remoteact_cleanup
@ stub pcap_remoteact_close
@ stub pcap_remoteact_list
@ stub pcap_sendpacket
@ cdecl pcap_sendpacket(ptr ptr long) wine_pcap_sendpacket
@ stub pcap_sendqueue_alloc
@ stub pcap_sendqueue_destroy
@ stub pcap_sendqueue_queue