Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Identifiers related to the new source syntax
[Exported Structures and Definitions]


Defines

#define PCAP_SRC_FILE   2
 Internal representation of the type of source in use (file, remote/local interface).

#define PCAP_SRC_IFLOCAL   3
 Internal representation of the type of source in use (file, remote/local interface).

#define PCAP_SRC_IFREMOTE   4
 Internal representation of the type of source in use (file, remote/local interface).


Detailed Description


Define Documentation

#define PCAP_SRC_FILE   2
 

Internal representation of the type of source in use (file, remote/local interface).

This indicates a file, i.e. the user want to open a capture from a local file.

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

Referenced by pcap_createsrcstr(), pcap_findalldevs_ex(), pcap_open(), and pcap_parsesrcstr().

#define PCAP_SRC_IFLOCAL   3
 

Internal representation of the type of source in use (file, remote/local interface).

This indicates a local interface, i.e. the user want to open a capture from a local interface. This does not involve the RPCAP protocol.

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

Referenced by pcap_createsrcstr(), pcap_findalldevs_ex(), pcap_open(), and pcap_parsesrcstr().

#define PCAP_SRC_IFREMOTE   4
 

Internal representation of the type of source in use (file, remote/local interface).

This indicates a remote interface, i.e. the user want to open a capture from an interface on a remote host. This does involve the RPCAP protocol.

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

Referenced by pcap_createsrcstr(), pcap_open(), pcap_open_live(), pcap_opensource_remote(), and pcap_parsesrcstr().


documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.