Handle Types
[PA LLD Constants (enum's and define's)]

Handle Types

These values are used to describe what type of handle is referenced.

These values are used only for function Pa_forwardResult. The function returns with a copy of the handle, which the module user should already have, along with the type of handle. The module user can use this information to verify that a particular handle has been fully activated and can be used for linking reference in calls to Pa_addIp, Pa_addCustomLUT1, Pa_addCustomLUT2 or Pa_addPort.



#define pa_L2_HANDLE   2
#define pa_L3_HANDLE   3
#define pa_L4_HANDLE   4
#define pa_INVALID_HANDLE   -1

Define Documentation

#define pa_INVALID_HANDLE   -1

Invalid handle type

#define pa_L2_HANDLE   2

Level 2 (MAC/SRIO) handle

#define pa_L3_HANDLE   3

Level 3 (IP, Custom LUT1) handle

#define pa_L4_HANDLE   4

Level 4 (TCP/UDP/GTP-U/Custom LUT2) handle


Copyright 2012, Texas Instruments Incorporated