Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 1 revision

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 2017/10/17.

Clone this wiki locally