FastClick

Elements / Basicmod

Resize

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 2026/11/02.