[ns] POINTER PROBLEM
Thu, 22 Feb 2001 19:52:51 -0800 (PST)
i am having a really peculiar problem with my peculiar design.
This is what i am doing:
IN the emulation mode, when a packet comes in , i created two copies of
it : a timer and a bufferable packet, and send them in addition to the
original packet to the link layer.
The link layer then shedules the packet "TIMER" for a later time and
stores the packet type "BUFFER" into a local (local to link layer) array
However when the next packet comes in , it sometimes writes on to one of
the pointers the link layer is supposed to have in its array. As a result
i loose the buffered packet.
Could some please please tell me why my tap agent overwrites the pointer
array in Link Layer?
This think is bugging the hell out of me, so could someone please help
Department of Electrical Engineering
University of British Columbia