P_CHECKSUM

code: 302

# set
<module-index>/<port-index> P_CHECKSUM <offset>

# get
<module-index>/<port-index> P_CHECKSUM ?

Description

Controls an extra payload integrity checksum, which also covers the header protocols following the Ethernet header. It will therefore catch any modifications to the protocol fields (which should therefore not have modifiers on them).

Actions

set, get

Parameters

  1. offset: short integer, the offset in the packet where the calculation of the extra checksum is started from

Example

# set
input:  0/1 P_CHECKSUM 1
output: <OK>

# get
input:  0/1 P_CHECKSUM ?
output: 0/1 P_CHECKSUM 1