![]() |
![]() |
Protocol-specific Limitations. More...
#include <pa.h>
Data Fields | |
uint8_t | vlanMax |
uint8_t | ipMax |
uint8_t | greMax |
Protocol-specific Limitations.
paProtocolLimit_t is used to defines the protocol-specific restrictions. For example, it is necessary to limit the number of protocol layers such as GRE of the input packets to prevent the irregular packets take too much processing time. The PASS will detect the packets which violate the protocol-specific restrictions and either discard or forward the packets to host queues which can be specified through API Pa_configExceptionRoute.
uint8_t paProtocolLimit_t::greMax |
Maximum number of GRE layers supported, default = 2, maximum = 7
uint8_t paProtocolLimit_t::ipMax |
Maximum number of IP layers supported, default = 2, maximum = 7
uint8_t paProtocolLimit_t::vlanMax |
Maximum number of VLANs supported, default = 2, maximum = 3