Note that multiple elements can output into a single input port of 
another element.  In other words, this is legal, even though input 0 of 
'q' is being used by 2 elements.

FromDump(a.pcap) -> q::Queue -> Discard;
FromDump(b.pcap) -> q;

I must admit this could be better advertised in the docs - it took me a 
long time to realize that.  I even built a (useless) Mux element to do this!

Of course the opposite (1 output port going to >1 elements) is NOT legal.

- Ian


Jimmy wrote:
> Hi all,
> 
> So Queue element can only have one input source and MixedQueue can
> have two input ports, but the first input is FIFO, and the second
> input is LIFO. TimeSortedSched element can merge multiple packet
> streams by timestamp.
> 
> Are there any elements that simply have the function of merging
> multiple incoming source packet streams? I mean if there are five
> RatedSource, each with different settings, how to merge these packet
> streams into one single stream?
> 
> Thanks.
> 
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to