FastClick

Elements / IP

SetIPChecksum

sets IP packets' checksums

SYNOPSIS§

SetIPChecksum()

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

DESCRIPTION§

Expects an IP packet as input. Calculates the IP header's checksum and sets the checksum header field.

You will not normally need SetIPChecksum. Most elements that modify an IP header, like DecIPTTL, SetIPDSCP, and IPRewriter, already update the checksum incrementally.

SEE ALSO§

CheckIPHeader, DecIPTTL, SetIPDSCP, IPRewriter

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