[Ns-developers] DelayBox - ns-3

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Mon Apr 7 08:58:22 PDT 2008


On Sat, 2008-04-05 at 16:17 -0400, Matt Crinklaw wrote:

> DelayBox doesn't actually do the packet classification.  Packets are
> given a flow id by the TCP Agent (this is the ns-2 equivalent of
> ns-3's TCP Socket) which generated them.

Ok. Thanks for the precision.

> Flow ids (in my mind) are something that should be assigned on a per
> connection basis.  Since this is the case, it seems that the most
> logical thing to do would be to add functionality to the TCP Socket
> code.  This added functionality would allow the code using the socket
> to assign a flowid to that socket.  The socket would then assign its
> flowid to each packet that it generates.

I think that it would be nice to avoid adding cruft to the socket code
and to leave this to the application generating traffic or to move this
in some more generic packet classification facility.

> If you still want to make some general classifier (to be used by any
> code which handles a packet) that can classify individual packets, I
> have several questions & concerns about how that should work.

Whatever implementation solution you choose, it would be nice to ask
your questions :)

Mathieu



More information about the Ns-developers mailing list