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

MarkMACHeader Element Documentation

NAME

MarkMACHeader — Click element; sets MAC header annotation

SYNOPSIS

MarkMACHeader([OFFSET, LENGTH])

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Sets the MAC header annotation to start OFFSET bytes into the packet. OFFSET defaults to 0. If LENGTH is provided and non-zero, the MAC header is LENGTH bytes long, so the network header annotation is set to OFFSET+LENGTH bytes into the packet. The packet must be long enough to support the provided OFFSET.

SEE ALSO

MarkIPHeader

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

Clone this wiki locally