This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

TruncateIPPayload Element Documentation

NAME

TruncateIPPayload -- Click element; limit payload length

SYNOPSIS

TruncateIPPayload([LENGTH, TRANSPORT])

Ports: 1 input, 1 output
Processing: agnostic
Package: ip (core)

DESCRIPTION

Shorten IP packets to have payload of at most LENGTH bytes. Normally "payload" begins at the end of the transport header (TruncateIPPayload understands TCP, UDP, and ICMP headers). If TRANSPORT is false, "payload" begins at the end of the IP header. Non-IP packets are truncated to at most LENGTH bytes. Default LENGTH is 0. The EXTRA_LENGTH keyword argument determines whether packets' extra length annotations are updated to account for any dropped bytes. Default is true.

SEE ALSO

Truncate

Generated by 'click-elem2man' from '../elements/ip/truncateippayload.hh' on 7/Mar/2009.

COMMENTS

 
elements/truncateippayload.txt · Last modified: 2009/03/07 17:24 (external edit)
 
Recent changes RSS feed Driven by DokuWiki