![]() |
![]() |
Enhanced IP lookup information. More...
#include <pa.h>
Data Fields | |
uint32_t | validBitMap |
paIpAddr_t | src |
paIpAddr_t | dst |
uint32_t | spi |
uint32_t | flow |
int | ipType |
uint16_t | greProto |
uint8_t | proto |
uint8_t | tos |
uint16_t | sctpPort |
Enhanced IP lookup information.
paIpInfo2_t is the upgraded version of paIpInfo_t to support additional IP lookup parameters over time while still maintaining backward compatibility. Future feature enhancements will be supported through this API data structure only.
Since not all fields are used all the time, validBitmap is used to specify which field is used for packet classification.
Destination IP address
uint32_t paIpInfo2_t::flow |
IPv6 flow label in 20 lsbs
uint16_t paIpInfo2_t::greProto |
GRE protocol field
Mandatory if src or dst is valid IP types
uint8_t paIpInfo2_t::proto |
IP Protocol (IPv4) / Next Header (IPv6)
uint16_t paIpInfo2_t::sctpPort |
SCTP Destination Port
uint32_t paIpInfo2_t::spi |
ESP or AH header Security Parameters Index
Source IP address
uint8_t paIpInfo2_t::tos |
IP Type of Service (IPv4) / Traffic class (IPv6)
uint32_t paIpInfo2_t::validBitMap |
32-bit valid Bitmap corresponding to each optional field as defined at PA IP Info Valid Bit Definitions