Summary
-------
merger is a tool to merge multiple traffic streams. 
It merges multiple input traffic streams in a FIFO/Drop tail queue.
The input to the tool consists of several traffic trace files.
The output is written to a traffic trace file.

Execution
---------
merger <Number of input ports> <Buffer size of output port in kBytes>  < Transmission rate of output port in Mb/s>

Input traffic trace file format
-------------------------------
Name: res<ipport>.in

Format:
timestamp pktid  srcaddr srcport dstaddr dstport size

pktid: Unique number identifying each packet of a trace file.
ipport: Input port that the packet arrived on.
timestamp: Arrival time of packet to queue. 

Output traffic trace file format
--------------------------------
Name: res0.out

timestamp ipport:pktid srcaddr srcport dstaddr dstport size

timestamp: Time when first bit of packet is transmitted.
ipport: Input port that the packet arrived on.



Authors
-------

This code is primarily by 
Purushotham Kamath <pkamath@ISI.EDU>

with contributions by
Kun-chan Lan

It has been used in the following papers:

Purushotham Kamath, Kun-chan Lan, John Heidemann, Joe Bannister, and Joe Touch. Generation of High Bandwidth Network Traffic Traces. In Proceedings of the International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, pp. 401-410. Fort Worth, Texas, USA, USC/Information Sciences Institute, IEEE. October, 2002. <http://www.isi.edu/~johnh/PAPERS/Kamath02a.html>.
