[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Passing Traffic to a Queue




hi

I am a new user to ns2 & am trying to create a rate controlled edf
scheduler. This scheduler consists of a regulator (for shaping the
traffic) & the edf scheduler. My regulator module should consist of
multiple queues, each queue allocated to a single connection.

I have a doubt regarding the Queue class in ns2. Is it possible to pass
traffic to the Queue without attaching the queue to any links and nodes.  
Can we have a TCP Agent to which a traffic application (like CBR)
is attached, that can be provided as the input to the Queue or do I need
to create a separate class in C++ for the regulator according to my
requirments.

If a C++ class needs to be implemented, is it possible to create the
regulator so as to accept inputs from multiple nodes (having different
kinds of traffic), process the packets received and add the channel
condition to its header (assuming a wireless environment). The channel
condition and the deadline information will both be used during scheduling
to improve the scheduling efficency.

Any help will be greatly appreciated

Thanx
Sandeep