Mathieu Lacage
b12ddbffe5
merge tracing overhaul in trunk
2007-09-11 12:11:00 +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
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
16984a935c
make sure that l4 protocols are correctly registered within the tracing namespace
2007-08-30 15:14:26 +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
7c4e277f6d
add doxygen documentation and rename TraceContext::Get to TraceContext::GetElement
2007-08-28 14:51:13 +02:00
Mathieu Lacage
726d998910
constify
2007-08-28 14:33:53 +02:00
Mathieu Lacage
e84bc0863f
merge with trunk
2007-08-28 14:10:54 +02:00
Mathieu Lacage
fa3f86cbde
document trace source signatures
2007-08-28 13:10:18 +02:00
Mathieu Lacage
98a3dc2490
constify
2007-08-28 13:03:08 +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
e2ee92d07f
remove dead code
2007-08-27 15:07:39 +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
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
Tom Henderson
6f73afb5e3
restore ns-2 .tr format
2007-08-13 22:53:20 -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
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
e8eae0a765
make sure udp-header.h is exported for main-packet-printer
2007-08-08 11:20:35 +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
bc55e550a3
build with the new TraceContextElement API
2007-08-06 19:40:18 +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
Mathieu Lacage
03d6425976
merge with trunk
2007-08-04 17:17:23 +02:00
Mathieu Lacage
b353cfa1c2
macros to ensure proper initialization
2007-08-04 16:49:06 +02:00
Mathieu Lacage
4d013a8d3d
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
27ec6591c5
forgot to use std::string instead of const char *
2007-08-04 13:21:55 +02:00
Tom Henderson
69d03040da
interim
2007-08-03 09:29:57 -07:00
Tom Henderson
98d396f438
merge with ns-3-dev
2007-08-03 08:29:24 -07:00
Mathieu Lacage
d00d3a3e56
fix valgrind warnings
2007-08-03 17:26:10 +02:00
Mathieu Lacage
aab20db3be
add GetUid methods to all headers and trailers
2007-08-03 09:23:41 +02:00
Mathieu Lacage
ea46e29e24
remove uint8_t * from the send path of the socket API
2007-08-01 19:19:42 +02:00
Mathieu Lacage
84f5d7e306
split callback registration from socket operations in socket.h API.
2007-08-01 18:48:24 +02:00
Mathieu Lacage
65ec58ce0a
fix tracing
2007-08-01 13:53:48 +02:00