[ns] Problem by Installation of MAC 802.11e EDCF-Code
Hi, you have to add a separator after -I./wpan you should have : INCLUDES = \ -I. @V_INCLUDE_X11@ \ @V_INCLUDES@ \ -I./tcp -I./sctp -I./common -I./link -I./queue \ -I./adc -I./apps -I./mac -I./mobile -I./trace \ -I./routing -I./tools -I./classifier -I./mcast \ -I./diffusion3/lib/main -I./diffusion3/lib \ -I./diffusion3/lib/nr -I./diffusion3/ns \ -I./diffusion3/filter_core -I./asim/ -I./qs \ -I./diffserv \ -I./wpan *\* -I./mac/802_11e\
[ns] Quorum based power saving protocol in IEEE802.11
Hello! I am studying power saving in 802.11. Does anyone know about quorum system? I want add it in the 802.11 and simulate, but I have not any idea how do it Everybody gives a dot the opinion, please
[ns] Wireless LAN Security using NS2
I am doing a MSc Dissertation in Wireless LAN Security using NS2. But I am having problems to create Access Point in NS2 and Add security into it. Could sombody help please I am using ns-2.28 Thanks. Push
Re: [ns] Problem by Installation of MAC 802.11e EDCF-Code
Hello Amela, I am using ns2.34 version on ubuntu. Can you please tell me where can I find EDCF code in ns2.34 package?? Is the code already there or should I need to download any patch files?? Please guide me with this.. Am doing my thesis so I needed for that... Your help is highly appreciable.. Thank you :) Regards, Chithra amela wrote: Hi, you have to add a separator after -I./wpan you should have : INCLUDES = \ -I. @V_INCLUDE_X11@ \ @V_INCLUDES@ \ -I./tcp -I./sctp -I./common -I./link -I./queue \ -I./adc -I./apps -I./mac -I./mobile -I./trace \ -I./routing -I./tools -I./classifier -I./mcast \ -I./diffusion3/lib/main -I./diffusion3/lib \ -I./diffusion3/lib/nr -I./diffusion3/ns \ -I./diffusion3/filter_core -I./asim/ -I./qs \ -I./diffserv \ -I./wpan *\* -I./mac/802_11e\ -- View this message in context: http://old.nabble.com/Problem-by-Installation-of-MAC-802.11e-EDCF-Code-tp30304762p30307687.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Altering Packet Data
strcpy(((PacketData*)(data-userdata())-data(), readbuf); here readbuf is char array contains ur data to be set. Hopefully this will help you. On Mon, Nov 22, 2010 at 12:44 PM, Dhara Buch dharab...@yahoo.com wrote: Hello, I want to change the data field of Packet p. I get it through userdata(), as follows. But after updating, how to set it back? PacketData* data = (PacketData*)p-userdata(); Thank you, Dhara Buch
[ns] memory leak because of payload allocation
hello all, I have written following lines of code in UDP to transfer mien data over network, but when i run script it eats up all my 3gb memory and 5gb swap too with actual data of size around 16 mb. code in udp layer: *p-allocdata(len);* * **((PacketData*)(p-userdata()))-setData(readbuf);* Can anyone help me out, whats wrong with this approach. at the receiver side i am calling *free(p);* * * Thanks Avinash Kumar Chaurasia Department of Computer Science IIT Kanpur, India Thanks Avinash Kumar Chaurasia Department of Computer Science IIT Kanpur, India