Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

IPOutputCombo Element Documentation

NAME

IPOutputCombo — Click element; output combo for IP routing

SYNOPSIS

IPOutputCombo(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 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.

NOTES

IPOutputCombo 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/ip/ipoutputcombo.hh:8 on 2017/10/17.

Clone this wiki locally