[Ns-developers] ns3: queue not in NetDevice?
Gustavo Carneiro
gjcarneiro at gmail.com
Mon Mar 5 13:58:57 PST 2007
OK, here's some more feedback..
Question: shouldn't NetDevice have a m_queue member, to hold a Queue
instance?
Basically all network devices should have a queue on top; at least that's
the way things work in the linux kernel. The "no queue" situation could be
a special case, not the default, and is easily emulated by a queue with
length=1.
I see that SerialNetDevice optionally allows a Queue, but IMHO the queue
functionality should be provided automatically by the ns3 core, not by
NetDevice subclasses.
PS: is it just me, or is Queue::Enque/Deque/etc. misspelled?
--
Gustavo J. A. M. Carneiro
"The universe is always one step beyond logic."
More information about the Ns-developers
mailing list