Next Header types
PA LLD Constants (enum's and define's)

Next Header types

These values are used to define the next header (protocol) types for continus parsing after the SRIO and custom parsing.

The next header type can be derived from the upper layer header in a standard Ethernet packet. For SRIO and custom LUT1 lookup, the next header type should be provided by the user in function Pa_setCustomLUT1 and Pa_addSrio.

#define pa_HDR_TYPE_MAC   0
#define pa_HDR_TYPE_IPV4   1
#define pa_HDR_TYPE_IPV6   2
#define pa_HDR_TYPE_CUSTOM_LUT1   3
#define pa_HDR_TYPE_UDP   4
#define pa_HDR_TYPE_UDP_LITE   5
#define pa_HDR_TYPE_TCP   6
#define pa_HDR_TYPE_CUSTOM_LUT2   7
#define pa_HDR_TYPE_UNKNOWN   8

Define Documentation

#define pa_HDR_TYPE_CUSTOM_LUT1   3

Custom LUT1 header

#define pa_HDR_TYPE_CUSTOM_LUT2   7

Custom LUT2 header

#define pa_HDR_TYPE_IPV4   1

IPv4 header

#define pa_HDR_TYPE_IPV6   2

IPv6 header

#define pa_HDR_TYPE_MAC   0

MAC header

#define pa_HDR_TYPE_TCP   6

TCP header

#define pa_HDR_TYPE_UDP   4

UDP header

#define pa_HDR_TYPE_UNKNOWN   8

next header type is not specified


Copyright 2014, Texas Instruments Incorporated