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

wpcap: Implement pcap_datalink.

parent e7bf85cc
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(wpcap); WINE_DEFAULT_DEBUG_CHANNEL(wpcap);
WINE_DECLARE_DEBUG_CHANNEL(winediag); WINE_DECLARE_DEBUG_CHANNEL(winediag);
int CDECL wine_pcap_datalink(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_datalink(p);
}
int CDECL wine_pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) int CDECL wine_pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf)
{ {
int ret; int ret;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
@ stub pcap_compile @ stub pcap_compile
@ stub pcap_compile_nopcap @ stub pcap_compile_nopcap
@ stub pcap_createsrcstr @ stub pcap_createsrcstr
@ stub pcap_datalink @ cdecl pcap_datalink(ptr) wine_pcap_datalink
@ stub pcap_datalink_name_to_val @ stub pcap_datalink_name_to_val
@ stub pcap_datalink_val_to_description @ stub pcap_datalink_val_to_description
@ stub pcap_datalink_val_to_name @ stub pcap_datalink_val_to_name
......
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