Skip to content
Tom Barbette edited this page May 7, 2020 · 3 revisions

SetUDPChecksum Element Documentation

NAME

SetUDPChecksum — Click element; sets UDP packets' checksums

SYNOPSIS

SetUDPChecksum()

Batching: Batching natively supported
Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push

DESCRIPTION

Input packets must be UDP in IP (the protocol field isn't checked).

Calculates the UDP checksum and sets the UDP header's checksum field. Uses IP header fields to generate the pseudo-header.

If input packets are IP fragments, or the UDP length is longer than the packet, then pushes the input packets to the 2nd output, or drops them with a warning if there is no 2nd output.

SEE ALSO

CheckUDPHeader, SetIPChecksum, CheckIPHeader, SetTCPChecksum

Generated by click-elem2man from ../elements/tcpudp/setudpchecksum.hh:8 on 2020/05/07.

Clone this wiki locally