Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 1 revision

SetUDPChecksum Element Documentation

NAME

SetUDPChecksum — Click element; sets UDP packets' checksums

SYNOPSIS

SetUDPChecksum()

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 2017/10/17.

Clone this wiki locally