=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wpcap: Implement pcap_lookupnet.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 15 13:53:12 CDT 2014
Module: wine
Branch: master
Commit: 53912aed735ea74e1ca8a5e90401e9fead692df7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=53912aed735ea74e1ca8a5e90401e9fead692df7
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Aug 12 00:33:14 2014 +0200
wpcap: Implement pcap_lookupnet.
---
dlls/wpcap/wpcap.c | 7 +++++++
dlls/wpcap/wpcap.spec | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c
index 5705ea6..c1ff2e8 100644
--- a/dlls/wpcap/wpcap.c
+++ b/dlls/wpcap/wpcap.c
@@ -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);
diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec
index 460fbd9..3337554 100644
--- a/dlls/wpcap/wpcap.spec
+++ b/dlls/wpcap/wpcap.spec
@@ -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
More information about the wine-cvs
mailing list