Commit Graph

147 Commits

Author SHA1 Message Date
Mathieu Lacage
dc62fabc0b fix addition of a trailer or a header 2007-06-05 14:06:58 +02:00
Mathieu Lacage
47f2db1e23 a new implementation of the PacketHistory API 2007-06-05 13:44:43 +02:00
Mathieu Lacage
62aa29999b remove dead typedef 2007-06-04 09:33:38 +02:00
Mathieu Lacage
a4f727f68d a bunch of optimizations 2007-06-03 20:09:56 +02:00
Mathieu Lacage
a88ff1f2c4 more tests, fix 2007-06-02 18:32:31 +02:00
Mathieu Lacage
a986e81353 more tests, initial fix. 2007-06-02 18:24:44 +02:00
Mathieu Lacage
b9899de6df more tests 2007-06-02 18:13:19 +02:00
Mathieu Lacage
bebb4eb281 fix build for g++ 4.1 2007-06-02 18:08:04 +02:00
Mathieu Lacage
34c6957f95 more tests 2007-06-01 15:26:21 +02:00
Mathieu Lacage
8a62c228b2 ensure that packets are real buffers before concatenating them 2007-06-01 15:23:30 +02:00
Mathieu Lacage
4c92dfe914 add more asserts, make TransformIntoRealBuffer public for Packet class 2007-06-01 15:23:07 +02:00
Mathieu Lacage
5f2b952521 enable more tests 2007-06-01 14:50:04 +02:00
Mathieu Lacage
3485d9829c more tests 2007-06-01 14:35:18 +02:00
Mathieu Lacage
00d6bb5c8a add more tests 2007-06-01 13:06:35 +02:00
Mathieu Lacage
89fc9310db calculate the correct size of header and trailer to remove from buffer 2007-06-01 13:06:21 +02:00
Mathieu Lacage
26e52f0da4 more tests 2007-06-01 12:49:10 +02:00
Mathieu Lacage
99c235760e new test and fix to make it pass 2007-06-01 12:46:23 +02:00
Mathieu Lacage
438e58cc1c add test and fix buggy assert 2007-06-01 12:42:29 +02:00
Mathieu Lacage
4bfd1c4a2a Packet API must call Trailer::DoSerialize on end of trailer, not start of trailer 2007-06-01 11:37:19 +02:00
Mathieu Lacage
abfdb4befc test payload 2007-06-01 11:17:59 +02:00
Mathieu Lacage
5a1ffabd03 test fragments 2007-06-01 11:12:55 +02:00
Mathieu Lacage
66bf48b6e6 make the tests pass again 2007-06-01 11:03:56 +02:00
Mathieu Lacage
bf7acebc30 fix buggy assert 2007-06-01 10:49:17 +02:00
Mathieu Lacage
975c1dc46f build the ItemList into the input list, not a temporary stack variable. 2007-06-01 10:35:05 +02:00
Mathieu Lacage
8cf2162121 remove PrintSimple and revert order of history data written in data buffer 2007-06-01 10:06:35 +02:00
Mathieu Lacage
9980528f1e make chunkUid zero and invalid uid to improve debugging 2007-06-01 09:55:47 +02:00
Mathieu Lacage
581b34b586 force use of the ItemList to test it 2007-05-31 14:52:15 +02:00
Mathieu Lacage
20581afe80 re-implement PacketHistory to use the PacketPrinter and work on ItemList::Print 2007-05-31 14:30:34 +02:00
Mathieu Lacage
3861a96d5a implement forgotten PacketPrinter::AddDefaultPrinter 2007-05-31 14:30:07 +02:00
Mathieu Lacage
af44bde349 fix off-by-one in uid allocation 2007-05-31 14:00:03 +02:00
Mathieu Lacage
4736067ed2 avoid recursive initialization of uid static variable 2007-05-31 13:52:29 +02:00
Mathieu Lacage
2e686bcca7 use Callback::GetImpl rather than Callback::PeekImpl 2007-05-31 13:45:03 +02:00
Mathieu Lacage
afb85320bf constify, allow ItemList access to private methods 2007-05-31 13:37:05 +02:00
Mathieu Lacage
4b8dabddae add support for a default PacketPrinter 2007-05-31 12:34:33 +02:00
Mathieu Lacage
ab5c0a43bd rework the PacketPrinter code 2007-05-31 11:03:42 +02:00
Mathieu Lacage
e7abed2def try to design a packer printer class 2007-05-30 12:45:32 +02:00
Mathieu Lacage
66c3a25fe1 add Chunk::GetName and implement it 2007-05-30 10:03:15 +02:00
Mathieu Lacage
d9f03cafbe implement ItemList::AddAtEnd 2007-05-30 09:48:53 +02:00
Mathieu Lacage
639231388c implement ItemList construction 2007-05-30 07:42:56 +02:00
Mathieu Lacage
fe44d27cde prepare for forward iteration of history. 2007-05-29 16:53:53 +02:00
Mathieu Lacage
b71248e0f3 keep track of the aggregation state 2007-05-29 16:24:40 +02:00
Mathieu Lacage
4db6e9a69a merge unfinished packet history code 2007-05-29 16:09:20 +02:00
Raj Bhattacharjea
cd7fdcf026 Added comparison operators for DataRate 2007-05-21 13:22:37 -04:00
Gustavo J. A. M. Carneiro
81b081c67d WAF: sync with the last SConstruct change (smartvector.h and smartset.h removed) 2007-05-20 18:06:31 +01:00
Mathieu Lacage
64663cf3bd remove unused code 2007-05-20 14:34:46 +02:00
Mathieu Lacage
447de493d3 beautify the dox output 2007-05-17 14:07:22 +02:00
Mathieu Lacage
41b12f96a5 remove references to Chunk and replace them with references to Header and Trailer 2007-05-15 16:42:53 +02:00
Mathieu Lacage
12fa2d9178 move doxygen doc into Header and Trailer classes. 2007-05-15 16:39:55 +02:00
Raj Bhattacharjea
6c93b818af datarate, packet, defaultvalue, object dox 2007-05-14 10:38:08 -04:00
Mathieu Lacage
1a70acc7c5 add DefaultValue support to DataRate 2007-05-14 12:32:59 +02:00