1 --- Net-Pcap-0.18/stubs.inc 2006-10-15 22:00:58.000000000 +0000
2 +++ Net-Pcap-0.18/stubs.inc 2018-08-28 22:05:22.861450203 +0000
7 -#ifndef HAVE_PCAP_OPEN
9 -#warning "the function pcap_open() is not available"
12 -#pragma message( "Warning: the function pcap_open() is not available" )
14 -struct pcap_rmtauth {
20 -pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
21 -pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
22 - FUNCTION_NOT_IMPLEMENTED_ERROR(pcap_open)
28 #ifndef HAVE_PCAP_SETBUFF
30 #warning "the function pcap_setbuff() is not available"
36 -#ifndef HAVE_PCAP_SETSAMPLING
38 -#warning "the function pcap_setsampling() is not available"
41 -#pragma message( "Warning: the function pcap_setsampling() is not available" )
48 -struct pcap_samp *pcap_setsampling(pcap_t *p);
49 -struct pcap_samp *pcap_setsampling(pcap_t *p) {
50 - FUNCTION_NOT_IMPLEMENTED_ERROR(pcap_setsampling)