Go to the documentation of this file.
34 #ifndef __REMOTE_EXT_H__
35 #define __REMOTE_EXT_H__
39 #error Please do not include this file directly. Just define HAVE_REMOTE and then include pcap.h
79 #define PCAP_BUF_SIZE 1024
93 #define PCAP_SRC_FILE 2
101 #define PCAP_SRC_IFLOCAL 3
109 #define PCAP_SRC_IFREMOTE 4
164 #define PCAP_SRC_FILE_STRING "file://"
177 #define PCAP_SRC_IF_STRING "rpcap://"
203 #define PCAP_OPENFLAG_PROMISCUOUS 1
217 #define PCAP_OPENFLAG_DATATX_UDP 2
228 #define PCAP_OPENFLAG_NOCAPTURE_RPCAP 4
237 #define PCAP_OPENFLAG_NOCAPTURE_LOCAL 8
248 #define PCAP_OPENFLAG_MAX_RESPONSIVENESS 16
265 #define PCAP_SAMP_NOSAMP 0
275 #define PCAP_SAMP_1_EVERY_N 1
285 #define PCAP_SAMP_FIRST_AFTER_N_MS 2
304 #define RPCAP_RMTAUTH_NULL 0
315 #define RPCAP_RMTAUTH_PWD 1
399 #define RPCAP_HOSTLIST_SIZE 1024
418 int pcap_createsrcstr(
char *source,
int type,
const char *host,
const char *port,
const char *name,
char *
errbuf);
char * password
Zero-terminated string containing the password that has to be used on the remote machine for authenti...
int pcap_remoteact_list(char *hostlist, char sep, int size, char *errbuf)
int pcap_remoteact_close(const char *host, char *errbuf)
char * username
Zero-terminated string containing the username that has to be used on the remote machine for authenti...
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *errbuf)
This structure defines the information related to sampling.
int pcap_parsesrcstr(const char *source, int *type, char *host, char *port, char *name, char *errbuf)
static char errbuf[PCAP_ERRBUF_SIZE]
void pcap_remoteact_cleanup()
int type
Type of the authentication required.
int pcap_createsrcstr(char *source, int type, const char *host, const char *port, const char *name, char *errbuf)
SOCKET pcap_remoteact_accept(const char *address, const char *port, const char *hostlist, char *connectinghost, struct pcap_rmtauth *auth, char *errbuf)
int pcap_findalldevs_ex(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf)
This structure keeps the information needed to autheticate the user on a remote machine.
struct pcap_samp * pcap_setsampling(pcap_t *p)
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49