Commit Graph
336 Commits
Author SHA1 Message Date
Mathieu Lacage b6e429bfff add a few missing doxygen method documentations 2007-09-11 12:42:37 +02:00
Mathieu Lacage b12ddbffe5 merge tracing overhaul in trunk 2007-09-11 12:11:00 +02:00
Mathieu Lacage 17baffee33 rename ConnectPrinterToAll to TraceAll 2007-09-06 13:32:29 +02:00
Mathieu Lacage e463d9dcfb add support for NodeList::ConnectPrinterToAll 2007-09-06 12:56:31 +02:00
Tom Henderson 97df9062ef Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script 2007-09-04 21:26:54 -07:00
Tom Henderson e8f289a705 Fold the two patches for bu6 69 together, building on the bug 65 patch 2007-09-03 23:32:23 -07:00
Tom Henderson ff4a26f2c3 Provide two new Ipv4 convenience functions: GetIfIndexByIpv4Address() and GetIpv4RouteToDestination (), and align global routing code to use the first function 2007-09-03 14:55:51 -07:00
Gustavo J. A. M. Carneiro 8f13030ade WAF: as suggested by George, add a bunch of helper waf scripts that call the toplevel waf script, so that it is possible to compile with ./waf from emacs regardless of which buffer you are visiting (the other alternative is to install waf system wide and run 'waf'. 2007-09-08 19:24:39 +01:00
Mathieu Lacage 054e06daa9 move include to implementation file 2007-09-06 18:19:22 +02:00
Mathieu Lacage 697a3aa2b4 add doxygen for each TraceSourceElement subclass 2007-08-30 14:54:05 +02:00
Mathieu Lacage c0ac2a19c6 GetName -> GetTypeName 2007-08-30 14:35:44 +02:00
Mathieu Lacage c85f578bde backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
Mathieu Lacage f87f5e6b4f avoid method naming ambiguity in CompositeTraceResolver 2007-08-28 15:59:49 +02:00
George Riley 6b0876514e Reconcile changes with Mathieu's latest 2007-08-28 09:55:21 -04:00
Mathieu Lacage 726d998910 constify 2007-08-28 14:33:53 +02:00
Mathieu Lacage fa3f86cbde document trace source signatures 2007-08-28 13:10:18 +02:00
Mathieu Lacage bcf1aa1f33 merge with trunk
--HG--
rename : src/devices/csma-cd/csma-cd-net-device.cc => src/devices/csma/csma-net-device.cc
rename : src/devices/csma-cd/csma-cd-net-device.h => src/devices/csma/csma-net-device.h
2007-08-28 12:05:35 +02:00
Mathieu Lacage a321dcd1c8 keep track of trace source help strings 2007-08-28 11:01:00 +02:00
Mathieu Lacage 98f1e15b6b add TraceResolver::PrintAvailable method 2007-08-27 20:25:15 +02:00
Mathieu Lacage 36b572607e add TraceContextElement::GetName method 2007-08-27 14:59:50 +02:00
Mathieu Lacage b7f0debe92 remove TraceRoot 2007-08-27 13:36:40 +02:00
Raj Bhattacharjea efd4f372b4 Fixed inet-socket-address's opening IFDEF to be consistent with the filename 2007-08-24 14:00:52 -04:00
Raj Bhattacharjea bdb0794420 Added GPL and emacs modeline to inet-socket-address.h/cc 2007-08-24 13:21:33 -04:00
George Riley feb08acc56 Change the protocol stack processing to pass packets by non-const
reference, rather than const reference and value as was previously done.
Also change  the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter.  The problem with the original
approach was that packet UID's were getting skipped.  The fix handles
the uid properly, and we get sequential packet uid's on the trace file.
2007-08-24 11:44:11 -04:00
Mathieu Lacage 86befb3527 the protocol number field is a 16 bit integer, not a 32 bit integer 2007-08-24 10:33:58 +02:00
Craig Dowell 3ce31e418b Fix bug 68. Implement IsMulticast 2007-08-14 12:00:03 -07:00
Tom Henderson 3b66211e3b Doxygen cleanup 2007-08-13 20:53:29 -07:00
Mathieu Lacage 402830980e CompositeTraceResolver::Add -> CompositeTraceResolver::AddSource 2007-08-12 22:31:16 +02:00
Mathieu Lacage e11c1343b3 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code 2007-08-12 16:28:29 +02:00
Craig Dowell 50d9a8b4fa merge ns-3-csma with tip
--HG--
rename : src/devices/csma-cd/csma-cd-net-device.cc => src/devices/csma/csma-net-device.cc
rename : src/devices/csma-cd/csma-cd-net-device.h => src/devices/csma/csma-net-device.h
2007-08-10 10:52:30 -07:00
Craig Dowell 4d59bd5b5a print length/type in hex 2007-08-10 10:44:02 -07:00
Mathieu Lacage 680586f0e2 use implicit conversion rather than private explicit conversion: fixes build 2007-08-10 19:18:19 +02:00
Mathieu Lacage 6e340cbb56 merge with trunk 2007-08-10 16:28:09 +02:00
Mathieu Lacage 111413d06f convert TraceResolver * to Ptr<TraceResolver> 2007-08-10 15:47:13 +02:00
Mathieu Lacage 308d109968 remove TraceContext argument from TraceResolver constructor and move it to Connect 2007-08-09 21:25:23 +02:00
Mathieu Lacage ceb786f389 merge with trunk 2007-08-09 09:36:59 +02:00
Gustavo J. A. M. Carneiro 9aa65d1e2a WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file. 2007-08-08 15:10:36 +01:00
Mathieu Lacage 5cc3b1409a fix dox warning 2007-08-08 12:34:18 +02:00
Mathieu Lacage a08734f4f3 rework the NS_XX_ENSURE_REGISTERED macros and make sure we typecheck the input to TraceContext::Add and TraceContext::Get methods 2007-08-08 10:18:55 +02:00
Mathieu Lacage fe811f3a2e TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage 252af8d9bf Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid 2007-08-08 10:01:19 +02:00
Mathieu Lacage 5d6c37a355 remove Chunk base class
--HG--
rename : src/common/chunk.cc => src/common/chunk-registry.cc
rename : src/common/chunk.h => src/common/chunk-registry.h
2007-08-08 09:12:55 +02:00
Mathieu Lacage 3e62c62a7a tweak ascii trace output 2007-08-06 19:43:09 +02:00
Mathieu Lacage bc55e550a3 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage b0f9c20240 merge with trunk 2007-08-06 17:21:57 +02:00
Mathieu Lacage 8648af261e work in progress towards a working trace context 2007-08-06 17:19:13 +02:00
Mathieu Lacage c5a89f7f35 make the previous merge actually work 2007-08-06 15:45:29 +02:00
Mathieu Lacage 31fe48b221 merge implicit conversion tree
--HG--
rename : examples/csma-cd-one-subnet.cc => examples/csma-cd-packet-socket.cc
rename : src/node/eui48-address.cc => src/node/eui64-address.cc
rename : src/node/eui48-address.h => src/node/eui64-address.h
2007-08-06 15:32:27 +02:00
Mathieu Lacage 4832ec6d54 merge from trunk 2007-08-06 12:35:06 +02:00
Mathieu Lacage 082bd1f001 merge packet socket with trunk 2007-08-06 09:59:29 +02:00