Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

Truncate Element Documentation

NAME

Truncate — Click element; limit packet length

SYNOPSIS

Truncate(LENGTH)

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Shorten packets to at most LENGTH bytes.

The EXTRA_LENGTH keyword argument determines whether packets' extra length annotations are updated to account for any dropped bytes. Default is true.

SEE ALSO

Strip, Pad

Generated by click-elem2man from ../elements/standard/truncate.hh:7 on 2018/10/03.

Clone this wiki locally