Hello,
I am encountering a problem when I use packet->copy(). On some occasions the packet that is returned has a uid_ > 0 which will cause an abort() if I subsequently try to schedule the packet. The packet being copied does NOT have a uid_ > 0. I believe Giao Nguyen encountered this problem, since his mac-802_11.cc file contains the following code:
#define CHECK_PKT(p) \
while (p->uid_ > 0) { \
cerr << "p->uid_ = " << p->uid_ << "\n"; \
p = p->copy(); \
}
#else
#define CHECK_PKT(p)
#endif
I am using ns-2.1b3. Has anybody encountered this problem also? Has this problem been fixed in subsequent releases?
Dennis
-- Dennis P. Connors email: [email protected] Research Staff Member phone: (310) 317-5261 Information Sciences Laboratory fax: (310) 317-5695 HRL Laboratories, L.L.C. (formerly Hughes Research Labs) BLDG 254, M/S RL96 3011 Malibu Canyon Road Malibu, CA 90265 URL: http://www.wins.hrl.com/2.0/people/connors