Data Fields
paIpInfo2_t Struct Reference

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

Detailed Description

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.


Field Documentation

Destination IP address

IPv6 flow label in 20 lsbs

GRE protocol field

Mandatory if src or dst is valid IP types

IP Protocol (IPv4) / Next Header (IPv6)

SCTP Destination Port

uint32_t paIpInfo2_t::spi

ESP or AH header Security Parameters Index

Source IP address

IP Type of Service (IPv4) / Traffic class (IPv6)

32-bit valid Bitmap corresponding to each optional field as defined at PA IP Info Valid Bit Definitions


The documentation for this struct was generated from the following file:

Copyright 2014, Texas Instruments Incorporated