![]() |
![]() |
Copy Command. More...
#include <pa.h>
Data Fields | |
uint16_t | ctrlBitfield |
uint16_t | srcOffset |
uint16_t | destOffset |
uint16_t | numBytes |
Copy Command.
paCmdCopy_t is used to define how to copy number of bytes from the data packet to the descriptor. The copy command is used to instruct the PASS to copy up to 8 byte from packet to the PS info section in the packet descriptor in the from-network direction. If the desired copy area crosses over the packet boundary, then garbage data will be copied.
uint16_t paCmdCopy_t::ctrlBitfield |
Copy operation control information as defined at PA Copy Command Control Info Bit Definitions
uint16_t paCmdCopy_t::destOffset |
Offset from the top of the PSInfo for the data to be copied to
uint16_t paCmdCopy_t::numBytes |
Number of bytes to be copied
uint16_t paCmdCopy_t::srcOffset |
Offset from the start of current protocol header for the data copy to begin