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 90 of file remote-ext.h.

#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 98 of file remote-ext.h.

#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 106 of file remote-ext.h.

documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005 CACE technologies. All rights reserved.