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

wpcap: Implement pcap_lookupnet.

parent 29cdb71d
......@@ -67,6 +67,13 @@ char* CDECL wine_pcap_lookupdev(char *errbuf)
return pcap_lookupdev(errbuf);
}
int CDECL wine_pcap_lookupnet(const char *device, unsigned int *netp, unsigned int *maskp,
char *errbuf)
{
TRACE("(%p %p %p %p)\n", device, netp, maskp, errbuf);
return pcap_lookupnet(device, netp, maskp, errbuf);
}
int CDECL wine_pcap_major_version(pcap_t *p)
{
TRACE("(%p)\n", p);
......
......@@ -38,7 +38,7 @@
@ stub pcap_live_dump
@ stub pcap_live_dump_ended
@ cdecl pcap_lookupdev(str) wine_pcap_lookupdev
@ stub pcap_lookupnet
@ cdecl pcap_lookupnet(str ptr ptr str) wine_pcap_lookupnet
@ stub pcap_loop
@ cdecl pcap_major_version(ptr) wine_pcap_major_version
@ cdecl pcap_minor_version(ptr) wine_pcap_minor_version
......
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