wpcap: Implement pcap_lookupnet.

This commit is contained in:
André Hentschel 2014-08-12 00:33:14 +02:00 committed by Alexandre Julliard
parent 29cdb71d98
commit 53912aed73
2 changed files with 8 additions and 1 deletions

View File

@ -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);

View File

@ -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