Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

Remote_source_string
[Remote_struct]


Defines

#define PCAP_SRC_FILE_STRING   "file://"
 String that will be used to determine the type of source in use (file, remote/local interface).
#define PCAP_SRC_IF_STRING   "rpcap://"
 String that will be used to determine the type of source in use (file, remote/local interface).

Detailed Description

The formats allowed by the pcap_open() are the following:

The formats allowed by the pcap_findalldevs_ex() are the following:

Referring to the 'host' and 'port' paramters, they can be either numeric or literal. Since IPv6 is fully supported, these are the allowed formats:

Here you find some allowed examples:


Define Documentation

#define PCAP_SRC_FILE_STRING   "file://"
 

String that will be used to determine the type of source in use (file, remote/local interface).

This string will be prepended to the interface name in order to create a string that contains all the information required to open the source.

This string indicates that the user wants to open a capture from a local file.

Definition at line 161 of file remote-ext.h.

#define PCAP_SRC_IF_STRING   "rpcap://"
 

String that will be used to determine the type of source in use (file, remote/local interface).

This string will be prepended to the interface name in order to create a string that contains all the information required to open the source.

This string indicates that the user wants to open a capture from a network interface. This string does not necessarily involve the use of the RPCAP protocol. If the interface required resides on the local host, the RPCAP protocol is not involved and the local functions are used.

Definition at line 174 of file remote-ext.h.


Generated on Sun May 14 14:51:33 2006 by  doxygen 1.4.2