Mathieu Lacage
cc6d4c0c06
constify
2007-08-28 13:03:08 +02:00
Mathieu Lacage
04569d27b7
merge with trunk
2007-08-28 12:05:35 +02:00
Mathieu Lacage
8acd0300cd
keep track of trace source help strings
2007-08-28 11:01:00 +02:00
Craig Dowell
551fe6ebc5
real multicast enet addr, more source routes, default multicast route
2007-08-27 23:46:14 -07:00
Mathieu Lacage
e366a6eed4
remove dead code
2007-08-27 15:07:39 +02:00
Mathieu Lacage
90c8be1fa3
add TraceContextElement::GetName method
2007-08-27 14:59:50 +02:00
Mathieu Lacage
ccef3f6d9f
remove TraceRoot
2007-08-27 13:36:40 +02:00
Craig Dowell
4e486b1f59
semi-real multicast hardware addresses
2007-08-24 17:38:49 -07:00
Craig Dowell
217edad33c
add ipv4 methods, remove source multicast route requirement, fix udp socket source address prob
2007-08-24 16:57:54 -07:00
George Riley
391b3eef11
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
Craig Dowell
c0b90df335
branch merge
2007-08-20 13:40:15 -07:00
Tom Henderson
ad45701790
restore ns-2 .tr format
2007-08-13 22:53:20 -07:00
Craig Dowell
aecc283cb5
set source IP address in udp-socket packets
2007-08-13 19:54:47 -07:00
Craig Dowell
87c9e523c7
set source address in socket
2007-08-13 16:21:39 -07:00
Craig Dowell
e567af9b24
more multicast plumbing
2007-08-13 12:08:01 -07:00
Craig Dowell
d62a38e533
many debug prints
2007-08-12 22:41:24 -07:00
Craig Dowell
bc8ee80491
debug prints to make validation easier
2007-08-12 15:51:12 -07:00
Craig Dowell
5099a91a21
untested multicast support
2007-08-12 13:59:49 -07:00
Mathieu Lacage
233d71fec7
CompositeTraceResolver::Add -> CompositeTraceResolver::AddSource
2007-08-12 22:31:16 +02:00
Mathieu Lacage
ec4d9bbcb9
use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code
2007-08-12 16:28:29 +02:00
Mathieu Lacage
971997fbc1
use implicit conversion rather than private explicit conversion: fixes build
2007-08-10 19:18:19 +02:00
Mathieu Lacage
8b87d39c72
merge with trunk
2007-08-10 16:28:09 +02:00
Mathieu Lacage
0b34c336f7
convert TraceResolver * to Ptr<TraceResolver>
2007-08-10 15:47:13 +02:00
Mathieu Lacage
e683e1ab1c
remove TraceContext argument from TraceResolver constructor and move it to Connect
2007-08-09 21:25:23 +02:00
Mathieu Lacage
b392b2a867
merge with trunk
2007-08-09 09:36:59 +02:00
Gustavo J. A. M. Carneiro
0eca73234a
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
1bd35c2b55
make sure udp-header.h is exported for main-packet-printer
2007-08-08 11:20:35 +02:00
Mathieu Lacage
1e22e6d203
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
496f1d91d0
TraceContextElement::Register -> TraceContextElement::AllocateUid
2007-08-08 10:06:58 +02:00
Mathieu Lacage
5a38178db2
Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid
2007-08-08 10:01:19 +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
0db07e14d6
merge implicit conversion tree
2007-08-06 15:32:27 +02:00
Mathieu Lacage
06c632fa50
merge from trunk
2007-08-06 12:35:06 +02:00
Mathieu Lacage
913319d9e3
merge packet socket with trunk
2007-08-06 09:59:29 +02:00
Mathieu Lacage
a55fa0d833
merge with trunk
2007-08-04 17:17:23 +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
6a1e38d831
forgot to use std::string instead of const char *
2007-08-04 13:21:55 +02:00
Tom Henderson
de77db64fc
interim
2007-08-03 09:29:57 -07:00
Tom Henderson
fce7c3cc39
merge with ns-3-dev
2007-08-03 08:29:24 -07:00
Mathieu Lacage
4050d495ed
fix valgrind warnings
2007-08-03 17:26:10 +02:00
Mathieu Lacage
e672f9711f
add GetUid methods to all headers and trailers
2007-08-03 09:23:41 +02:00
Mathieu Lacage
b954d65b8f
remove uint8_t * from the send path of the socket API
2007-08-01 19:19:42 +02:00
Mathieu Lacage
210e88b511
split callback registration from socket operations in socket.h API.
2007-08-01 18:48:24 +02:00
Mathieu Lacage
707b722c36
fix tracing
2007-08-01 13:53:48 +02:00
Mathieu Lacage
dd3ca3aa63
replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver
2007-08-01 12:33:44 +02:00
Mathieu Lacage
e05f635db5
rework the NetDevice <-> Node interface
2007-08-01 08:58:18 +02:00
Mathieu Lacage
3d9d4ce7be
I wonder what the point of that code was: why should you test for zero _after_ using the pointer ? It needs to be tested _before_.
2007-07-31 10:47:29 +02:00
Mathieu Lacage
1454050eef
forgot to set the interface id
2007-07-31 09:21:40 +02:00