![]() |
![]() |
PA API parameters structure. More...
#include <pa.h>
Data Fields | |
uint32_t | validBitMap |
int | lutInst |
int | index |
paLnkHandle_t | prevLink |
paLnkHandle_t | nextLink |
paRouteInfo2_t * | routeInfo |
paRouteInfo2_t * | nextRtFail |
PA API parameters structure.
This structure define the common parameters of the next generation APIs such as Pa_addMac2 and Pa_addIp2. This structure includes a validBitMap of optional parameters so that it can evolve while maintaining backward-compatibility.
The parameter validBitMap specifies which optional parameters are valid 1: used; 0: not used.
validBitMap[t1] Specify the index of the LUT1 entry (0-63).
validBitMap[t0] Specify which LUT1 (0-2) should be used.
validBitMap[t3] An optional virtual link handle
Where to send a packet that matches, but fails to match any entry at the next classification stage
validBitMap[t2] An optional L2 or L3 handle, or virtual link handle
Where to send a packet that matches
uint32_t paParamDesc::validBitMap |
32-bit bitmap corresponding to usage of each optional field