好消息,超酷的在线虚拟网络实验室上线了!点击开始实验

为获得更好的浏览效果,建议您使用 Firefox 或者 Chrome 浏览器



pcap_samp Struct Reference
[Exported Structures and Definitions]

This structure defines the information related to sampling. More...

#include <remote-ext.h>

Data Fields

int method
int value

Detailed Description

This structure defines the information related to sampling.

In case the sampling is requested, the capturing device should read only a subset of the packets coming from the source. The returned packets depend on the sampling parameters.

Warning:
The sampling process is applied after the filtering process. In other words, packets are filtered first, then the sampling process selects a subset of the 'filtered' packets and it returns them to the caller.

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


Field Documentation

int method

Method used for sampling. Currently, the supported methods are listed in the Sampling Methods Section.

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

int value

This value depends on the sampling method defined. For its meaning, please check at the Sampling Methods Section.

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


The documentation for this struct was generated from the following file: