[ns] Storing data packets in an array/matrix while simulating

Daniel A pfe09 at yahoo.de
Tue Jan 13 17:36:12 PST 2009


Hi everybody,

I am about simulating a data transmission over ns2. 
Within the network (node, link), I would like to store every 4 packets in a
matrix/array, manipulate them in the matrix(e.g. by inserting some
additional bytes to each packet and multiplying the content of the matrix
with an another one) and then forward the manipulated data to the sink.
As ns2 is handling single packets, I don't really know where and how to do
that! 
Do you have any idea where I eventually could do that? And which functions I
should change? 


Best,

Dan  







More information about the Ns-users mailing list