wpcap: Implement pcap_next_ex.
This commit is contained in:
parent
daae8422a0
commit
1c6902679b
|
@ -208,6 +208,12 @@ const unsigned char* CDECL wine_pcap_next(pcap_t *p, struct pcap_pkthdr *h)
|
|||
return pcap_next(p, h);
|
||||
}
|
||||
|
||||
int CDECL wine_pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, const unsigned char **pkt_data)
|
||||
{
|
||||
TRACE("(%p %p %p)\n", p, pkt_header, pkt_data);
|
||||
return pcap_next_ex(p, pkt_header, pkt_data);
|
||||
}
|
||||
|
||||
#define PCAP_OPENFLAG_PROMISCUOUS 1
|
||||
|
||||
pcap_t* CDECL wine_pcap_open(const char *source, int snaplen, int flags, int read_timeout,
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
@ cdecl pcap_minor_version(ptr) wine_pcap_minor_version
|
||||
@ cdecl pcap_next(ptr ptr) wine_pcap_next
|
||||
@ stub pcap_next_etherent
|
||||
@ stub pcap_next_ex
|
||||
@ cdecl pcap_next_ex(ptr ptr ptr) wine_pcap_next_ex
|
||||
@ stub pcap_offline_filter
|
||||
@ stub pcap_offline_read
|
||||
@ cdecl pcap_open(str long long long ptr ptr) wine_pcap_open
|
||||
|
|
Loading…
Reference in New Issue