libnet  latest
A Portable Framework for Low-Level Network Packet Construction
Macros
Remote_source_ID

Macros

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

Detailed Description

Macro Definition Documentation

§ PCAP_SRC_FILE

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

§ PCAP_SRC_IFLOCAL

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

§ PCAP_SRC_IFREMOTE

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