Re: [ns] segmentation fault when trying to read common header of a packet

2010-03-09 Thread Ariel Goldberg
I just made some progress with this... i still have the problem, but a better idea where it comes from. Basically, its that i get a blank packet of the IFQ... i don't know why? What is happening is that node 1 is sending a packet to node 0. Node 0 replies with an Ack to node 1. Node 1

Re: [ns] segmentation fault when trying to read common header of a packet

2010-03-09 Thread Ariel Goldberg
Hi Sireesha I am working with MAC802.11 I am not sure about authentication packets... but my understanding is that packets are identified by the common header. The types of packets i know of are defined in packet.h as below: static const packet_t PT_TCP = 0; static const packet_t PT_UDP = 1;

[ns] segmentation fault when trying to read common header of a packet

2010-03-08 Thread Ariel Goldberg
I'm running into a segmentation fault in my simulation. The essence of the problem is that i am putting a packet into the IFQ of a node, but when i take the packet off the queue to be processed by the MAC layer... it is blank. When the simulation tries to read the common header of the packet it