Commit Graph
257 Commits
Author SHA1 Message Date
Mathieu Lacage 5a38178db2 Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid 2007-08-08 10:01:19 +02:00
Mathieu Lacage 55b4291df0 introduce Tag base class similar to Header and Trailer 2007-08-08 09:49:56 +02:00
Mathieu Lacage 5c419ea37f remove Chunk base class 2007-08-08 09:12:55 +02:00
Mathieu Lacage 1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage 3fd0b3ba42 merge with trunk 2007-08-06 17:21:57 +02:00
Mathieu Lacage 77712a63ad work in progress towards a working trace context 2007-08-06 17:19:13 +02:00
Mathieu Lacage 913319d9e3 merge packet socket with trunk 2007-08-06 09:59:29 +02:00
Mathieu Lacage 8e1489d85b update the Tag API to match the Header/Trailer API 2007-08-04 17:14:54 +02:00
Mathieu Lacage 797d537cb8 update dox 2007-08-04 16:58:16 +02:00
Mathieu Lacage b6618577c7 add doxygen 2007-08-04 16:52:01 +02:00
Mathieu Lacage 0cb76eb275 macros to ensure proper initialization 2007-08-04 16:49:06 +02:00
Mathieu Lacage 93cea27ad8 force users to register their header/trailer uid strings by hand rather than do lazy uid allocation. 2007-08-04 16:37:16 +02:00
Mathieu Lacage 263326ecbe fix packet serialization/deserialization 2007-08-04 16:07:46 +02:00
Mathieu Lacage 61c85465b9 ci fix metadata serialization/deserialization 2007-08-04 16:07:31 +02:00
Mathieu Lacage 25c33df302 test packet serialization/deserialization 2007-08-04 16:06:59 +02:00
Mathieu Lacage 7d5a47afe9 make sure we return a correct uid from ChunkRegistry::GetUidFromUidString 2007-08-04 16:06:38 +02:00
Mathieu Lacage b2ddd93191 test Tags serialization/deserialization 2007-08-04 14:51:09 +02:00
Mathieu Lacage d9a9624c6c finish packet serialization/deserialization 2007-08-04 14:41:33 +02:00
Mathieu Lacage aff09e3e34 implement packet metadata serialization/deserialization 2007-08-04 14:10:49 +02:00
Mathieu Lacage 6db993b589 add doxygen documentation, constify 2007-08-04 13:28:17 +02:00
Mathieu Lacage a454a51939 rework the PacketPrinter API and implementation 2007-08-04 13:22:08 +02:00
Mathieu Lacage cb6943010a remove dead forward declaration 2007-08-04 10:05:51 +02:00
Mathieu Lacage 6929464500 use CreateFullCopy and implement Serialize/Deserialize 2007-08-04 09:32:10 +02:00
Mathieu Lacage 6e956f6cc3 add Buffer::CreateFullCopy and make TransformInto private 2007-08-04 09:31:52 +02:00
Mathieu Lacage 555885a3b0 add Tag documentation 2007-08-03 17:52:58 +02:00
Mathieu Lacage a5b8f5af68 split test code out of the main PacketMetadata code 2007-08-03 17:52:21 +02:00
Mathieu Lacage 4050d495ed fix valgrind warnings 2007-08-03 17:26:10 +02:00
Mathieu Lacage c05e7134ed doxygen improvements to Packet, Tags, and Headers/Trailers 2007-08-03 17:00:40 +02:00
Mathieu Lacage f8a6287322 improve dox 2007-08-03 14:09:04 +02:00
Mathieu Lacage 6c6a9a073f implement Tags::Serialize and Tags::Deserialize 2007-08-03 13:58:53 +02:00
Mathieu Lacage 9c309707a7 add internal documentation 2007-08-03 13:07:10 +02:00
Mathieu Lacage 9c1e4a0e70 rework the Tags API to ensure proper uid generation for tags 2007-08-03 13:00:38 +02:00
Mathieu Lacage 7298cd1110 make sure we return the right integer uid if the header of trailer was already registered. 2007-08-03 10:39:55 +02:00
Gustavo J. A. M. Carneiro a905bf35a7 Send PacketMetadataTest unit test output to Failure (), not std::cout. 2007-08-02 14:56:04 +01:00
Mathieu Lacage dd3ca3aa63 replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Gustavo J. A. M. Carneiro 8682d0293a WAF: remove the obj.includes = '.' part from modules, since it causes build failure in OS X, and waf was just fixed to enable header files dependency tracking by default without needing to change obj.includes 2007-07-28 14:14:16 +01:00
Mathieu Lacage 56d6ee9a1c fix bug 57 2007-07-23 13:58:53 +02:00
Gustavo J. A. M. Carneiro 57688559b1 WAF: add obj.includes = '.' to command waf to do dependency tracking on private header files. 2007-07-20 11:12:43 +01:00
Gustavo J. A. M. Carneiro b239441ff9 Buffer::Iterator::Write (buffer, size) should have a uint32_t parameter, not
uint16_t, else integer overflow may occur.  Fixes bug #54.
2007-07-19 12:48:22 +01:00
Emmanuelle Laprise 8b417ebd25 Fixed a typo in the documentation. Had to change NodeList::Index to
NodeList::NodeIndex
2007-07-18 09:27:22 -05:00
Gustavo J. A. M. Carneiro ae8f10ae47 WAF: derive the variable NS3_MODULES from the 'all_modules' list in src/wscript, instead of requiring every module to define a configure function to register themselves. This way module registration is done in one place only: src/wscript. Requires module naming conventions, though. 2007-07-15 13:04:47 +01:00
Gustavo J. A. M. Carneiro fd479088ec WAF scripts update 2007-07-02 18:23:52 +01:00
Mathieu Lacage bedbfd18d7 add dox doc for header and trailer PrintTo and DoGetName 2007-06-29 08:18:16 +02:00
Mathieu Lacage 2756732458 add more internal documentation 2007-06-28 13:59:51 +02:00
Mathieu Lacage 3bb28c049f test and fix backward printing 2007-06-28 13:43:27 +02:00
Mathieu Lacage ce57b5d156 more asserts, add failing tests, fix them 2007-06-28 13:01:40 +02:00
Mathieu Lacage 23f4e85f87 fix basic tests, add new test, add a bunch of asserts, add XXX comment 2007-06-28 12:29:21 +02:00
Mathieu Lacage b937ec5a87 add failing assert 2007-06-28 12:00:00 +02:00
Mathieu Lacage 35f80fc5c3 modify sample packet printer to use ipv4 and udp headers 2007-06-28 11:48:37 +02:00
Mathieu Lacage 993dc85f8f change default pretty printing output format, add doc to metadata data structures 2007-06-28 11:07:38 +02:00