Commit Graph

1048 Commits

Author SHA1 Message Date
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
fc7802ea0f avoid fatal error if NS_DEBUG is used before the 'main' function is reached 2007-08-04 16:03:08 +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
6a1e38d831 forgot to use std::string instead of const char * 2007-08-04 13:21:55 +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
f6ec749e96 update sample code to use a std::string rather than a const char * 2007-08-03 17:52:39 +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
Mathieu Lacage
e672f9711f add GetUid methods to all headers and trailers 2007-08-03 09:23:41 +02:00
Mathieu Lacage
740ad8c1b2 remove redundant printing output 2007-08-03 09:15:25 +02:00
Mathieu Lacage
62310f6b21 fix coding style 2007-08-03 09:15:11 +02:00
Mathieu Lacage
9c2de843b5 move constants to private section 2007-08-03 09:09:19 +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
Gustavo J. A. M. Carneiro
bd1932f12c In some places, print debug messages / errors to stderr, not stdout. 2007-08-02 14:48:36 +01:00
Gustavo J. A. M. Carneiro
d272bd4e05 Replace the stdout "warning" with a NS_FATAL_ERROR 2007-08-02 14:47:51 +01:00
Gustavo J. A. M. Carneiro
67e42e8600 Bug #7: Better breakpoints. 2007-08-02 13:59:08 +01:00
Mathieu Lacage
078d8b607c do not access the iterator after erasing it 2007-08-02 08:55:56 +02:00
Gustavo J. A. M. Carneiro
7c001bf468 Detect when running waf --shell with stale environment variables and give an error when it happens. 2007-08-01 21:35:34 +01:00
Gustavo J. A. M. Carneiro
63cc2150a0 WAF: when changing environment (e.g. LD_LIBRARY_PATH for --run and --shell), make the new paths take precedence over the old ones. 2007-08-01 18:34:23 +01:00
Mathieu Lacage
2476dd4474 merge with trunk 2007-08-01 19:52:59 +02:00
Mathieu Lacage
38b3f73a85 merge 2007-08-01 09:38:55 +02:00
Mathieu Lacage
2319629592 fix bug 59: debug output now goes to stderr. 2007-08-01 09:38:09 +02:00
Gustavo J. A. M. Carneiro
4886a7c0fe Add emacs C++ mode selection line, missing from some header files. 2007-07-31 13:49:11 +01:00
Tom Henderson
ecd4f30e41 Fix lengthType initialization for optimized build 2007-07-28 23:20:58 -07: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
28ddc5db69 start filling release notes with merged items 2007-07-28 14:50:56 +02:00
Mathieu Lacage
9e23045867 fix basic coding style issues 2007-07-28 13:25:10 +02:00
Mathieu Lacage
08758e9129 fix indent, basic coding style issues 2007-07-28 13:22:47 +02:00
Mathieu Lacage
14404dff66 protocol number is a 16 bit unsigned integer 2007-07-28 13:20:47 +02:00
Mathieu Lacage
7b0e63b123 param is a 16 bit integer. implement proper llc encapsulation/decapsulation 2007-07-28 13:15:04 +02:00
Mathieu Lacage
3b52247058 small cleanups 2007-07-28 13:14:24 +02:00
Mathieu Lacage
4c5fe41f2b pktType -> encapMode 2007-07-28 12:41:53 +02:00
Mathieu Lacage
b4ebd87229 disable copy constructor and operator = for CsmaCdNetDevice 2007-07-28 12:30:31 +02:00
Tom Henderson
e7f300bc7c fix tracing 2007-07-27 14:54:41 -07:00
Tom Henderson
45773a987d disable tracing; fix ifIndex assignment 2007-07-27 14:43:56 -07:00
Tom Henderson
9f8910c258 return ifIndex when adding netdevice to node (topology) 2007-07-27 14:40:50 -07:00