[ns] Packet manipulation in the queue using ns2.33 on vista

2009-02-04 Thread Daniel A.
Dear all, I’ve just made some changes in the queue class within the Queue::recv(Packet* p, Handler*) function! 4 bytes are added to each packet in the queue bevor fowarding the packet to the target. The default packet size is 1000 bytes (set in the ns-default.tcl file).   Compiling the simulator

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

2009-01-13 Thread Daniel A
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 anoth

[ns] Segmentation fault when compiling

2009-01-09 Thread Daniel A
Hi everybody, I am working on ns2.33 using cygwin. When compiling the attached code, I get the following message: $ ./ns Evaltran.tcl num_nodes is set 1 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Base station is created! wireles node is creat