![]() |
![]() |
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 |
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.
Destination IP address
| uint32_t paIpInfo_t::flow |
IPv6 flow label in 20 lsbs
| uint16_t paIpInfo_t::greProto |
GRE protocol field
| uint8_t paIpInfo_t::proto |
IP Protocol (IPv4) / Next Header (IPv6)
| uint16_t paIpInfo_t::sctpPort |
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)
| uint16_t paIpInfo_t::tosCare |
TRUE if the tos value is used for matching