P4G_IP_DS_TYPE#

# set
<module-index>/<port-index> P4G_IP_DS_TYPE [<group_index>] <ds_type>

# get
<module-index>/<port-index> P4G_IP_DS_TYPE [<group_index>] ?

Description#

Configure the mode of the DS field of the IP header of this CG.

Actions#

set, get

Parameters#

ds_type: byte, specifying how to fill out the DS field
  • FIXED = 0

  • INCREMENT = 1

  • RANDOM = 2

Example#

# set
input:  0/1 P4G_IP_DS_TYPE [0] FIXED
output: <OK>

# get
input:  0/1 P4G_IP_DS_TYPE [0] ?
output: 0/1 P4G_IP_DS_TYPE [0] FIXED