-
Notifications
You must be signed in to change notification settings - Fork 82
TruncateIPPayload
Tom Barbette edited this page Nov 25, 2022
·
3 revisions
TruncateIPPayload — Click element; limit payload length
TruncateIPPayload([LENGTH, TRANSPORT])
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
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.
Generated by click-elem2man from ../elements/ip/truncateippayload.hh:7
on 2022/11/25.