![]() |
![]() |
Next Route Command. More...
#include <pa.h>
Data Fields | |
uint16_t | ctrlBitfield |
int | dest |
uint8_t | pktType_emacCtrl |
uint8_t | flowId |
uint16_t | queue |
uint32_t | swInfo0 |
uint32_t | swInfo1 |
uint16_t | multiRouteIndex |
Next Route Command.
paCmdNextRoute_t defines the final route information The next route command can be used in both to-network and from-network directions. In the to-network direction, it may be used multiple times to route traffic between PASS and SASS before the packet is finally forwarded to the network. For example, the following steps show the SRTP over IPSEC AH to-network traffic:
1. Packet is delivered to SASS for SRTP operation 2. Packet is delivered to PASS for UDP checksum operation 3. Packet is delivered to SASS for IPSEC AH operation 4. Packet is delivered to PASS for AH authentication tag insertion 5. Packet is delivered to the network.
The next route commands are required for step 3 and 5. The complete routing information should be provided in the to-network direction.
In the from-network direction, the next route command is used only if the multiple route is required. In this case, only the parameter "ctrlBitfield" and "multiRouteIndex" are valid. After all the commands in the command set are executed, the PASS will deliver packets to their desired destination based on the parameters specified at the routing information upon the LUT1/LUT2 matching. If the next route command is specified, it must be the last command within a command set. The commands following the next route command will not be executed.
uint16_t paCmdNextRoute_t::ctrlBitfield |
Routing control information as defined at PA Routing Control Info Bit Definitions
Packet destination as defined at Routed Packet Destinations
uint8_t paCmdNextRoute_t::flowId |
For host, SA or SRIO destinations, specifies return free descriptor setup
uint16_t paCmdNextRoute_t::multiRouteIndex |
Multi-route index. It is valid in the from-network direction only
For destination SRIO, specify the 5-bit packet type toward SRIO For destination HOST, EMAC, specify the EMAC control Ethernet MAC Output Control Bit Definitions to the network
uint16_t paCmdNextRoute_t::queue |
For host, SA or SRIO destinations, specifies the dest queue
uint32_t paCmdNextRoute_t::swInfo0 |
Placed in SwInfo0 for packets to host or SA; Placed in the PS Info for packets to SRIO
uint32_t paCmdNextRoute_t::swInfo1 |
Placed in SwInfo1 for packets to the SA; Placed in the PS Info for packets to SRIO