# 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).

## 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 93 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 101 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 109 of file remote-ext.h.

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