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

Resize Element Documentation

NAME

Resize — Click element; adjust packet length.

SYNOPSIS

Resize(HEAD, TAIL)

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Adds HEAD bytes in front of packet and TAIL bytes at the end of the packet. If either number is negative, bytes are removed instead of added.

Any added bytes are left uninitialized, and no copy of the packet is made if the added bytes fit within the packet's existing headroom and/or tailroom.

SEE ALSO

Strip, Unstrip, Truncate

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

Clone this wiki locally