[ns] colored packets

Haobo Yu haoboy@isi.edu
Tue, 25 Apr 2000 11:16:02 -0700 (PDT)


You need to set the flow id (fid_) of the transport agent that send the
packet, then map that id to a color using $ns color. See tcl/ex/srm.tcl
for an example

On Tue, 25 Apr 2000, Ishan Mandrekar wrote:

> Which parameter of a CBR (over UDP) source needs to be modified to have it
> emit colored packets, as opposed to the usual black ones?
> 
> Thanks,
> Ishan.
> 
>