M4_CAPTURE_SIZE

# set
<module-index> M4_CAPTURE_SIZE <size>

# get
<module-index> M4_CAPTURE_SIZE ?

Description

Specify whether to capture whole packets(large) or truncated packets. When truncated (small) is selected only the first 128 bytes of the packet are saved.

Actions

set, get

Parameters

size: byte, specifying whether to capture whole packets or truncated packets.
  • FULL = 0

  • SMALL = 1

Example

# set
input:  0 M4_CAPTURE_SIZE FULL
output: <OK>

# get
input:  0 M4_CAPTURE_SIZE ?
output: 0 M4_CAPTURE_SIZE FULL