-
Notifications
You must be signed in to change notification settings - Fork 82
Null
Null — Click element; null element: passes packets unchanged
Null
Batching: Batching natively supported
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 2018/10/03.