-
Notifications
You must be signed in to change notification settings - Fork 82
IPOutputCombo
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
IPOutputCombo — Click element; output combo for IP routing
IPOutputCombo(COLOR, IPADDR, MTU)
Batching: Batching natively supported
Ports: 1 input, 5 outputs
Processing: push
A single element encapsulating common tasks on an IP router's output path. Effectively equivalent to
elementclass IPOutputCombo { $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.
IPOutputCombo does no fragmentation. You'll still need an IPFragmenter for that.
DropBroadcasts, PaintTee, CheckLength, IPGWOptions, FixIPSrc, DecIPTTL, IPFragmenter, IPInputCombo
Generated by click-elem2man from ../elements/ip/ipoutputcombo.hh:8
on 2018/10/03.