Commit Graph

348 Commits

Author SHA1 Message Date
Mathieu Lacage
348eb1e187 Make the CallbackBase class more useful than it was. 2008-01-02 13:39:56 +01:00
Craig Dowell
16e7e60cab packet pointer police patrolled product preventing presence of prior pattern proactively 2007-12-14 16:05:37 -08:00
Mathieu Lacage
457d07a50f make Packet::AddTag a const method 2007-12-11 13:42:09 +01:00
Mathieu Lacage
c91b667c13 use contrib gnuplot code 2007-12-07 08:41:52 +01:00
Mathieu Lacage
284ebcc23f merge with Ptr<Packet> branch 2007-11-22 10:44:48 +01:00
Mathieu Lacage
c156f29c86 merge 2007-11-22 10:30:29 +01:00
Mathieu Lacage
6d97118181 merge with HEAD 2007-11-15 10:18:17 +01:00
Tom Henderson
2e68155c6d nicer logging of parameters (bug 79 patch from Gustavo) 2007-11-14 21:59:14 -08:00
Tom Henderson
79f4bb679e get rid of non-const operators in DataRate 2007-11-14 21:17:43 -08:00
Tom Henderson
c114ad9aa7 minor fix for bug95; also const operators for DataRate 2007-11-08 23:08:00 -08:00
Mathieu Lacage
cdcfbd8ab2 add style support 2007-11-06 15:05:47 +01:00
Mathieu Lacage
3dd8898aaf generate correct output. avoid infinite loop. 2007-11-06 14:48:49 +01:00
Mathieu Lacage
cb0eeaeb32 generate gnuplot-compatible data script files 2007-11-06 13:30:40 +01:00
Tom Henderson
c3cbbcacd7 Add src/common/error-model implementation and example script, and add to NetDevices 2007-11-14 20:40:05 -08:00
Craig Dowell
60b6fb3d39 merge in packet.bundle 2007-10-29 12:48:01 -07:00
Mathieu Lacage
8975be38ae add missing space separator 2007-10-23 13:38:03 +02:00
Mathieu Lacage
7aede726ca add missing space separator 2007-10-23 13:38:03 +02:00
Tom Henderson
302bdd366c Clarify pkt-uid field in doxygen 2007-10-13 15:14:00 -07:00
Tom Henderson
e5241d93e5 back out unrelated changes 2007-10-13 15:10:23 -07:00
Tom Henderson
6804f40bc4 Clarify pkt-uid field in doxygen 2007-10-13 15:06:35 -07:00
Gustavo J. A. M. Carneiro
c0ed9be287 Fix bug 80 (valgrind error when finalizing PacketMetadata). 2007-10-08 17:44:17 +01:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Mathieu Lacage
2450bac944 add Packet::Ref/Unref methods 2007-10-01 14:14:31 +02:00
Gustavo J. A. M. Carneiro
f6dcef3b49 Add a couple of NS_LOG_PARAM calls for debugging. 2007-09-26 18:09:19 +01:00
Gustavo J. A. M. Carneiro
392b535cf0 Check for the common error of enabling packet metadata in the middle of a simulation, and give appropriate advice in this case. Closes #78. 2007-09-24 16:11:43 +01:00
Craig Dowell
90b02a4f6c checkpoint debug to log 2007-09-13 17:47:42 -07:00
Mathieu Lacage
644fffd69f merge with trunk 2007-09-12 11:22:32 +02:00
Mathieu Lacage
a84dd0068c enable buffer heuristics 2007-09-12 11:22:05 +02:00
Mathieu Lacage
eb05af8e74 add 'internal' documentation, cleanup a bit 2007-09-12 11:16:18 +02:00
Mathieu Lacage
7c6c5fe445 fix non-optimized build 2007-09-12 10:11:57 +02:00
Mathieu Lacage
6969cf239a optimize Iterator::ReadU8 2007-09-11 15:06:27 +02:00
Mathieu Lacage
2b3b68605e optimize Buffer::WriteU8 variants 2007-09-11 14:56:10 +02:00
Mathieu Lacage
42e6c413b6 optimize Buffer::WriteU8 2007-09-11 14:10:02 +02:00
Mathieu Lacage
4e75362d4b move around Iterator code 2007-09-11 13:53:39 +02:00
Mathieu Lacage
9bbfa99b4c print some statistics about free list efficiency 2007-09-11 13:47:17 +02:00
Mathieu Lacage
8d1ac59134 merge tracing overhaul in trunk 2007-09-11 12:11:00 +02:00
Mathieu Lacage
cbd6277844 merge with trunk 2007-09-11 10:01:23 +02:00
Mathieu Lacage
313a167729 we handle gustavo's testcase now. Fix for bug 72 2007-09-10 18:52:48 +02:00
Mathieu Lacage
ca342d8de2 fix buggy assert 2007-09-10 18:49:00 +02:00
Mathieu Lacage
0c2dd78f3b update carefully m_maxZeroAreaSize and update correctly m_end and m_zeroAreaEnd in RemoveAtStart 2007-09-10 18:43:29 +02:00
Mathieu Lacage
3c81d0423e it is possible to zeroAreaStart to be bigger than the data buffer size 2007-09-10 17:55:39 +02:00
Mathieu Lacage
3fcc420e08 CreateFullCopy: the data area at the end of the buffer starts at m_zeroAreaStart. AddAtStart: the assert should be used only when the optimization is enabled. 2007-09-10 17:43:33 +02:00
Mathieu Lacage
65c099c02a max zero area start can be bigger than m_end if data is removed from end of buffer 2007-09-10 16:57:25 +02:00
Mathieu Lacage
c197a4a62c add state checking and fix Buffer::CreateFullCopy 2007-09-10 16:55:26 +02:00
Mathieu Lacage
60fbe881c1 improve debugging output 2007-09-10 16:55:03 +02:00
Mathieu Lacage
e96365a4bc rewrite the buffer code extensively 2007-09-10 16:45:52 +02:00
Mathieu Lacage
1e865deaaf add Buffer::m_zeroAreaStart 2007-09-10 08:54:11 +02:00
Mathieu Lacage
a0e8906575 make Buffer::m_end really represent the end of the data rather than its size 2007-09-09 21:16:05 +02:00
Mathieu Lacage
f13dc2777d Buffer::m_size -> Buffer::m_end 2007-09-09 10:38:22 +02:00
Mathieu Lacage
0f588a8d97 add testcase 2007-09-07 19:51:46 +02:00