PS_PACKETHEADER#

code: 175

# set
<module-index>/<port-index> PS_PACKETHEADER [<stream_index>] <hex_data>

# get
<module-index>/<port-index> PS_PACKETHEADER [<stream_index>] ?

Description#

The first portion of the packet bytes that are transmitted for a stream. This starts with the 14 bytes of the Ethernet header, followed by any contained protocol segments. All packets transmitted for the stream start with this fixed header. Individual byte positions of the packet header may be varied on a packet-to-packet basis using modifiers. The full packet comprises the header, the payload, an optional test payload, and the frame checksum. The header data is specified as raw bytes, since the script environment does not know the field- by-field layout of the various protocol segments.

Actions#

set, get

Parameters#

  1. hex_data: hex list, the raw bytes comprising the packet header

Example#

# set
input:  0/1 PS_PACKETHEADER [0] 0xAAAAAAAAAAAA04F4BC9DE7008100000A08004500002A000000007FFF3AD60000000000000000
output: <OK>

# get
input:  0/1 PS_PACKETHEADER [0] ?
output: 0/1 PS_PACKETHEADER [0] 0xAAAAAAAAAAAA04F4BC9DE7008100000A08004500002A000000007FFF3AD60000000000000000