Modules | Macros
Remote_struct
Collaboration diagram for Remote_struct:

Modules

 Remote_source_ID
 
 Remote_source_string
 

Macros

#define PCAP_BUF_SIZE   1024
 Defines the maximum buffer size in which address, port, interface names are kept. More...
 
#define PCAP_SRC_FILE_STRING   "file://"
 String that will be used to determine the type of source in use (file, remote/local interface). More...
 
#define PCAP_SRC_IF_STRING   "rpcap://"
 String that will be used to determine the type of source in use (file, remote/local interface). More...
 

Detailed Description

\file remote-ext.h

The goal of this file it to include most of the new definitions that should be
placed into the pcap.h file.

It includes all new definitions (structures and functions like pcap_open().

Some of the functions are not really a remote feature, but, right now, they are placed here.

Macro Definition Documentation

◆ PCAP_BUF_SIZE

#define PCAP_BUF_SIZE   1024

Defines the maximum buffer size in which address, port, interface names are kept.

In case the adapter name or such is larger than this value, it is truncated. This is not used by the user; however it must be aware that an hostname / interface name longer than this value will be truncated.

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

◆ PCAP_SRC_FILE_STRING

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

◆ PCAP_SRC_IF_STRING

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



soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49