wpcap: Implement pcap_sendpacket.
This commit is contained in:
parent
1c6902679b
commit
1c460fcd63
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue