PEF_TCPDESTPORT#

code: 1727

# set
<module-index>/<port-index> PEF_TCPDESTPORT [<flow_index>, <filter_type>] <use> <value> <mask>

# get
<module-index>/<port-index> PEF_TCPDESTPORT [<flow_index>, <filter_type>] ?

Description#

Basic mode only. Defines TCP Destination Port settings used for the filter.

Note

For set, the only allowed filter_type is shadow-copy. .

Actions#

set, get

Parameters#

  1. use: byte, specifies the use of TCP Destination Port information

  • OFF = 0

  • ON = 1

  1. value: integer, specifies the value of the TCP Destination Port. Default value: 0

  2. mask: hex2, specifies the filter mask for the value. Default value: 0xFFFF

Example#

# set
input:  0/1 PEF_TCPDESTPORT [1,0] OFF 0 0xFFFF
output: <OK>

# get
input:  0/1 PEF_TCPDESTPORT [1,0] ?
output: 0/1 PEF_TCPDESTPORT [1,0] OFF 0 0xFFFF