wpcap: Implement pcap_next.

This commit is contained in:
André Hentschel 2014-08-19 00:00:15 +02:00 committed by Alexandre Julliard
parent 4de7047873
commit daae8422a0
2 changed files with 7 additions and 1 deletions

View File

@ -202,6 +202,12 @@ int CDECL wine_pcap_minor_version(pcap_t *p)
return pcap_minor_version(p);
}
const unsigned char* CDECL wine_pcap_next(pcap_t *p, struct pcap_pkthdr *h)
{
TRACE("(%p %p)\n", p, h);
return pcap_next(p, h);
}
#define PCAP_OPENFLAG_PROMISCUOUS 1
pcap_t* CDECL wine_pcap_open(const char *source, int snaplen, int flags, int read_timeout,

View File

@ -42,7 +42,7 @@
@ cdecl pcap_loop(ptr long ptr ptr) wine_pcap_loop
@ cdecl pcap_major_version(ptr) wine_pcap_major_version
@ cdecl pcap_minor_version(ptr) wine_pcap_minor_version
@ stub pcap_next
@ cdecl pcap_next(ptr ptr) wine_pcap_next
@ stub pcap_next_etherent
@ stub pcap_next_ex
@ stub pcap_offline_filter