![]() |
![]() |
IP fragmentation information. More...
#include <pa.h>
Data Fields | |
uint16_t | ipOffset |
uint16_t | mtuSize |
IP fragmentation information.
paCmdIpFrag_t is used to create the IPv4 fragment command. The IP fragment command is used to instruct the PASS to perform IPv4 fragmentation operation. This operation can be applied to both inner IP prior to IPSEC encapsulation and outer IP after IPSEC encapsulation. This command should go with a next route command which provides the destination information prior to the fragmentation operation.
For the inner IP fragmentation, follow the following procedure:
For the outer IP fragmentation, the overall operation is stated below:
The IP fragment command can be combined with a single blind patch command to support the IPSEC AH use case in which the SASS passes the IPSEC AH packet with the blind patch command to the PASS so that the autentication tag can be inserted into the AH header. The recommended order of the tx commands is as the followings:
The IP fragment command can be also combined with up to two message length patching commands to support the message length field updating for each IP fragment. This operation is required for certain L2 header which contains a length field such as 802.3 and PPPoE. The order of tx command is as the followings:
uint16_t paCmdIpFrag_t::ipOffset |
Offset to the IP header.
uint16_t paCmdIpFrag_t::mtuSize |
Size of the maximum transmission unit (>= 68)