-
Notifications
You must be signed in to change notification settings - Fork 321
Null
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
Null — Click element; null element: passes packets unchanged
Null
Ports: 1 input, 1 output
Processing: agnostic
Emits input packets unchanged.
Click supports several null-type elements useful for different purposes.
Placeholder elements help make configurations easier to read by allowing a more natural declaration order. For example, you might say:
join_point :: Null;
// packet sources
src0 :: ...;
src0 -> join_point;
src1 :: ...;
src1 -> join_point;
// packet sinks
join_point -> c :: Classifier -> ...;
Null is a reasonable class for placeholder elements, but an empty compound element serves the same purpose without any runtime overhead.
join_point :: {->};
PushNull and PullNull can be used to force an agnostic configuration to be push or pull, respectively.
Null itself is most useful for benchmarking.
Generated by click-elem2man from ../elements/standard/nullelement.hh:6
on 2017/10/17.