MarkMACHeader
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§
Generated by click-elem2man from ../elements/standard/markmacheader.hh:6 on 2026/11/02.