Skip to content
Tom Barbette edited this page Nov 25, 2022 · 1 revision

FlowIPOutputCombo Element Documentation

NAME

FlowIPOutputCombo — Click element; output combo for IP routing

SYNOPSIS

FlowIPOutputCombo(COLOR, IPADDR, MTU)

Ports: 1 input, 5 outputs
Processing: push

DESCRIPTION

A single element encapsulating common tasks on an IP router's output path. Effectively equivalent to

 elementclass FlowIPOutputCombo { $COLOR, $IPADDR, $MTU |
 input[0] -> DropBroadcasts
 -> p::PaintTee($COLOR)
 -> g::IPGWOptions($IPADDR)
 -> FixIPSrc($IPADDR)
 -> d::DecIPTTL
 -> l::CheckLength($MTU)
 -> [0]output;
 p[1] -> [1]output;
 g[1] -> [2]output;
 d[1] -> [3]output;
 l[1] -> [4]output;
 }

Output 0 is the path for normal packets; outputs 1 through 3 are error outputs for PaintTee, IPGWOptions, and DecIPTTL, respectively; and output 4 is for packets longer than MTU.

NOTES

FlowIPOutputCombo does no fragmentation. You'll still need an IPFragmenter for that.

SEE ALSO

DropBroadcasts, PaintTee, CheckLength, IPGWOptions, FixIPSrc, DecIPTTL, IPFragmenter, IPInputCombo

Generated by click-elem2man from ../elements/flow/flowipoutputcombo.hh:10 on 2022/11/25.

Clone this wiki locally