FastClick

Elements / IP

MarkIPHeader

sets IP header annotation

SYNOPSIS§

MarkIPHeader([OFFSET])

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

DESCRIPTION§

Marks packets as IP packets by setting the IP Header annotation. The IP header starts OFFSET bytes into the packet. Default OFFSET is 0.

Does not check length fields for sanity, shorten packets to the IP length, or set the destination IP address annotation. Use CheckIPHeader or CheckIPHeader2 for that.

SEE ALSO§

CheckIPHeader, CheckIPHeader2, StripIPHeader

Generated by click-elem2man from ../elements/ip/markipheader.hh:6 on 2026/11/02.