fec546e939
Fix callbacks in packet-sink
Tom Henderson
2007-10-01 21:04:46 -07:00
e7fb2a2c7c
According to the literature, in RandomWaypointMobilityModel the pause should come before the walk, not after; fixed.
Gustavo J. A. M. Carneiro
2007-10-01 18:55:04 +01:00
1bc6f6eeda
Add ns2-mobility-file-topology sources
Gustavo J. A. M. Carneiro
2007-10-01 18:01:38 +01:00
afc46ac1d3
Adapt to StaticSpeedHelper change
Gustavo J. A. M. Carneiro
2007-10-01 17:11:06 +01:00
636e47d219
Adapt to StaticSpeedHelper change
Gustavo J. A. M. Carneiro
2007-10-01 17:10:46 +01:00
9c219d647d
Refactor handling of pauses in StaticSpeedHelper to fix bug (must return null speed when paused)
Gustavo J. A. M. Carneiro
2007-10-01 17:10:15 +01:00
99da16b834
Improve the precision of the RandomDirection2dMobilityModel::PI constant (value copied from glibc's math.h header file).
Gustavo J. A. M. Carneiro
2007-10-01 15:11:16 +01:00
d8e5697bfe
Add the random-direction-2d-mobility-model.cc,h sources to the build.
Gustavo J. A. M. Carneiro
2007-10-01 15:05:43 +01:00
b504a88459
Add a bit of function name logging.
Gustavo J. A. M. Carneiro
2007-10-01 15:05:03 +01:00
3745686f38
merge with trunk
Mathieu Lacage
2007-10-01 15:41:19 +02:00
fda2e2d34d
merge
Gustavo J. A. M. Carneiro
2007-10-01 14:34:47 +01:00
2f4da0f0b0
Make Object::QueryInterface and AddInterface check for the aggregate refcount instead of the object refcount, reason explained in a comment near Object::CheckLoose. Add the same check also to TraceConnect/Disconnect and GetTraceResolver.
Gustavo J. A. M. Carneiro
2007-10-01 14:33:17 +01:00
327e60b275
do not use Packet objects directly. Use Ptr<Packet> instead
Mathieu Lacage
2007-10-01 14:15:56 +02:00
8f30f628a0
Minor code readability improvements.
Gustavo J. A. M. Carneiro
2007-10-01 12:45:27 +01:00
27ba7608db
Use this-> to access member variables of Rectangle, for clarity.
Gustavo J. A. M. Carneiro
2007-10-01 12:34:32 +01:00
d2cd341615
merge
Gustavo J. A. M. Carneiro
2007-10-01 12:01:26 +01:00
978e3e6e81
merge
Gustavo J. A. M. Carneiro
2007-10-01 12:00:31 +01:00
5099bebba5
Put back an assertion in Object::DoQueryInterface, erroneously removed during branch merging.
Gustavo J. A. M. Carneiro
2007-10-01 11:42:41 +01:00
6951f13ce4
On course-change, print velocity in addition to position.
Gustavo J. A. M. Carneiro
2007-09-28 19:13:19 +01:00
ea76a9f88e
Create real nodes, not just mobility models.
Gustavo J. A. M. Carneiro
2007-09-28 19:04:11 +01:00
35ed9727d3
Add NotifyCourseChange support to RandomWaypointMobilityModel, and fix a bug in GetSpeed.
Gustavo J. A. M. Carneiro
2007-09-28 18:17:25 +01:00
b7ddc30244
Fix bad RandomWaypointPosition default value
Gustavo J. A. M. Carneiro
2007-09-28 17:33:18 +01:00
e525cd4465
Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter.
Gustavo J. A. M. Carneiro
2007-09-28 17:13:20 +01:00
3898752f67
Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter.
Gustavo J. A. M. Carneiro
2007-09-28 17:13:20 +01:00
c0b11f6eab
Update random mobility sample to new API
Gustavo J. A. M. Carneiro
2007-09-28 16:54:04 +01:00
b6d9bf7319
Fix the enumeration value list end marker (0 and (void*)0 are very different things in amd64)
Gustavo J. A. M. Carneiro
2007-09-28 16:51:34 +01:00
16e4a3c10e
Compile the random-walk-2d-mobility-model sources.
Gustavo J. A. M. Carneiro
2007-09-28 16:50:15 +01:00
343d9fd63f
forgot to add the nArgs enum in FunctionPtrTraits
Mathieu Lacage
2007-09-28 10:32:15 +02:00
4d1ab8f4ba
rewrite the TypeTraits and add some tests
Mathieu Lacage
2007-09-28 09:27:57 +02:00
f7ff4d6cc7
merge
Gustavo J. A. M. Carneiro
2007-09-27 12:49:17 +01:00
c1717498f4
add testcase, make it work
Mathieu Lacage
2007-09-27 13:48:32 +02:00
74a57d9e12
implement the member function version of Timer::SetFunction (a1)
Mathieu Lacage
2007-09-27 13:45:55 +02:00
df3bfb2771
WAF: set env['INCLUDEDIR'] to PREFIX/include so that ns3 headers get installed on 'waf install' (also shuts up the warnings in waf distcheck)
Gustavo J. A. M. Carneiro
2007-09-27 12:44:29 +01:00
76dc77106f
WAF: update to WAF trunk to get bug fixes and smaller script.
Gustavo J. A. M. Carneiro
2007-09-27 12:40:01 +01:00
265df9d0f2
add some doxygen
Mathieu Lacage
2007-09-27 13:31:20 +02:00
e4352e3c5a
add doxygen for Timer class and implement the policy flags
Mathieu Lacage
2007-09-27 13:27:18 +02:00
da44de59b9
Implement a Timer API
Mathieu Lacage
2007-09-27 12:51:17 +02:00
eb4e4b6b05
Enable ASCII tracing unconditionally, now that the associated problem is fixed in OLSR.
Gustavo J. A. M. Carneiro
2007-09-26 18:28:42 +01:00
166563d343
Make the OLSR headers usable from the AciiTracing point of view
Gustavo J. A. M. Carneiro
2007-09-26 18:27:52 +01:00
f6dcef3b49
Add a couple of NS_LOG_PARAM calls for debugging.
Gustavo J. A. M. Carneiro
2007-09-26 18:09:19 +01:00
299015ae5d
Add a couple of NS_LOG_PARAM calls for debugging.
Gustavo J. A. M. Carneiro
2007-09-26 18:09:19 +01:00
dbc4beb71a
merge
Gustavo J. A. M. Carneiro
2007-09-25 17:16:57 +01:00
7d23d0c5b0
Cleanup copyright headers and some unused includes.
Gustavo J. A. M. Carneiro
2007-09-25 16:26:02 +01:00
87cd21f1f8
Need to enable packet metadata early, else we trigger an assertion.
Gustavo J. A. M. Carneiro
2007-09-24 18:54:14 +01:00
a54dc98fad
merge
Gustavo J. A. M. Carneiro
2007-09-24 16:32:03 +01:00
392b535cf0
Check for the common error of enabling packet metadata in the middle of a simulation, and give appropriate advice in this case. Closes#78.
Gustavo J. A. M. Carneiro
2007-09-24 16:11:43 +01:00
eecce3f414
Move EventCollector and SingleEvent classes, making them private to the OLSR code.
Gustavo J. A. M. Carneiro
2007-09-24 11:39:31 +01:00
bea31d6487
merge with ns-3-dev
Gustavo J. A. M. Carneiro
2007-09-24 11:09:17 +01:00
bd51ec2c87
Fix a regression in handling of broadcast packets and UDP sockets (closes bug #51).
Gustavo J. A. M. Carneiro
2007-09-24 11:00:08 +01:00
75c461c8f9
Remove a redundant log message
Gustavo J. A. M. Carneiro
2007-09-21 18:07:54 +01:00
c8d4f578af
Call Simulator::Destroy () before running simulator unit tests, to force time to start from zero (some tests check for absolute times)
Gustavo J. A. M. Carneiro
2007-09-21 18:04:53 +01:00
4b242b57c8
Use NS_TEST_* macros for simulator unit tests
Gustavo J. A. M. Carneiro
2007-09-21 17:57:06 +01:00
6a5e3bf70d
Fix a small error in the unit test added recently (though it doesn't change the result)
Gustavo J. A. M. Carneiro
2007-09-21 15:57:20 +01:00
43bb81fd82
Add a couple of Udp socket unit tests: unicast (passing) and broadcast (failing, bug #51).
Gustavo J. A. M. Carneiro
2007-09-21 15:54:00 +01:00
1f6d0347cc
Update OLSR example.
Gustavo J. A. M. Carneiro
2007-09-21 14:28:05 +01:00
0826d6de53
merge with ns-3-dev
Gustavo J. A. M. Carneiro
2007-09-21 13:59:03 +01:00
df5905ace6
Added tag release ns-3.0.6 for changeset 606df29888e7
Tom Henderson
2007-09-15 14:07:35 -07:00
acadb46e6c
bump version number
Tom Henderson
2007-09-15 13:56:21 -07:00
ccee2254e0
release notes for 3.0.6
Tom Henderson
2007-09-15 13:52:59 -07:00
e26b497ccc
Add PacketSink to receive multicast
Tom Henderson
2007-09-14 16:23:49 -07:00
5e49ae47a9
change port number used by example scripts to 'discard' or 'echo' instead of '80'
Tom Henderson
2007-09-14 16:17:10 -07:00
1d79c8dc53
change ephemeral port range to 49152-65535 (IANA recommendation)
Tom Henderson
2007-09-14 16:11:36 -07:00
7bf7f4bbe5
add PacketSinks, change port number to UDP discard port, fix comment on onoff-application, delete logic for setting a default route
Tom Henderson
2007-09-14 15:57:49 -07:00
bba1cb3859
remove local address setting from UdpSocket::Connect()
Tom Henderson
2007-09-14 15:46:04 -07:00
36b77224c5
Remove temporary module documentation
Tom Henderson
2007-09-14 14:55:18 -07:00
b310b6745d
Revert accidental tweaks of example files (not intended for checkin)
Tom Henderson
2007-09-14 14:52:09 -07:00
9ef345f02d
Enable enqueue/dequeue tracing for point-to-point links
Tom Henderson
2007-09-14 14:42:31 -07:00