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

Align Element Documentation

NAME

Align — Click element; aligns packet data

SYNOPSIS

Align(MODULUS, OFFSET)

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Aligns packet data. Each input packet is aligned so that its first byte is OFFSET bytes off from a MODULUS-byte boundary. This may involve a packet copy.

MODULUS must be 2, 4, or 8.

NOTES

The click-align tool will insert this element automatically wherever it is required.

EXAMPLES

 ... -> Align(4, 0) -> ...

SEE ALSO

AlignmentInfo, click-align

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

Clone this wiki locally