Data Fields
paIpInfo_t Struct Reference

IP lookup information. More...

#include <pa.h>

Data Fields

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 tosCare
uint16_t sctpPort

Detailed Description

IP lookup information.

paIpInfo_t is used to specifiy the IPv4 or IPv6 parameters used in packet routing. With the exception of parameter tos, a value of 0 in any parameter means that that field is not used in packet routing. Since a value of 0 is valid for tos, the paramter tosCare is used to indicate if the tos field (IPv4) or traffic class (Ipv6) is used for packet routing.


Field Documentation

Destination IP address

uint32_t paIpInfo_t::flow

IPv6 flow label in 20 lsbs

GRE protocol field

IP Protocol (IPv4) / Next Header (IPv6)

SCTP Destination Port

uint32_t paIpInfo_t::spi

ESP or AH header Security Parameters Index

Source IP address

uint8_t paIpInfo_t::tos

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

TRUE if the tos value is used for matching


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

Copyright 2014, Texas Instruments Incorporated