Commit Graph

1338 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
89ff51cc09 mereg 2007-10-03 17:33:45 +01:00
Craig Dowell
ef9c8a4716 tutorial 2007-10-02 15:34:00 -07:00
Tom Henderson
fec546e939 Fix callbacks in packet-sink 2007-10-01 21:04:46 -07:00
Gustavo J. A. M. Carneiro
e7fb2a2c7c According to the literature, in RandomWaypointMobilityModel the pause should come before the walk, not after; fixed. 2007-10-01 18:55:04 +01:00
Gustavo J. A. M. Carneiro
1bc6f6eeda Add ns2-mobility-file-topology sources 2007-10-01 18:01:38 +01:00
Gustavo J. A. M. Carneiro
afc46ac1d3 Adapt to StaticSpeedHelper change 2007-10-01 17:11:06 +01:00
Gustavo J. A. M. Carneiro
636e47d219 Adapt to StaticSpeedHelper change 2007-10-01 17:10:46 +01:00
Gustavo J. A. M. Carneiro
9c219d647d Refactor handling of pauses in StaticSpeedHelper to fix bug (must return null speed when paused) 2007-10-01 17:10:15 +01:00
Gustavo J. A. M. Carneiro
99da16b834 Improve the precision of the RandomDirection2dMobilityModel::PI constant (value copied from glibc's math.h header file). 2007-10-01 15:11:16 +01:00
Gustavo J. A. M. Carneiro
d8e5697bfe Add the random-direction-2d-mobility-model.cc,h sources to the build. 2007-10-01 15:05:43 +01:00
Gustavo J. A. M. Carneiro
b504a88459 Add a bit of function name logging. 2007-10-01 15:05:03 +01:00
Gustavo J. A. M. Carneiro
fda2e2d34d merge 2007-10-01 14:34:47 +01:00
Gustavo J. A. M. Carneiro
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. 2007-10-01 14:33:17 +01:00
Gustavo J. A. M. Carneiro
8f30f628a0 Minor code readability improvements. 2007-10-01 12:45:27 +01:00
Gustavo J. A. M. Carneiro
27ba7608db Use this-> to access member variables of Rectangle, for clarity. 2007-10-01 12:34:32 +01:00
Gustavo J. A. M. Carneiro
5099bebba5 Put back an assertion in Object::DoQueryInterface, erroneously removed during branch merging. 2007-10-01 11:42:41 +01:00
Gustavo J. A. M. Carneiro
35ed9727d3 Add NotifyCourseChange support to RandomWaypointMobilityModel, and fix a bug in GetSpeed. 2007-09-28 18:17:25 +01:00
Gustavo J. A. M. Carneiro
b7ddc30244 Fix bad RandomWaypointPosition default value 2007-09-28 17:33:18 +01:00
Gustavo J. A. M. Carneiro
e525cd4465 Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter. 2007-09-28 17:13:20 +01:00
Gustavo J. A. M. Carneiro
3898752f67 Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter. 2007-09-28 17:13:20 +01:00
Gustavo J. A. M. Carneiro
b6d9bf7319 Fix the enumeration value list end marker (0 and (void*)0 are very different things in amd64) 2007-09-28 16:51:34 +01:00
Gustavo J. A. M. Carneiro
16e4a3c10e Compile the random-walk-2d-mobility-model sources. 2007-09-28 16:50:15 +01:00
Gustavo J. A. M. Carneiro
06659f1dfc merge 2007-09-28 11:59:46 +01:00
Gustavo J. A. M. Carneiro
f6dcef3b49 Add a couple of NS_LOG_PARAM calls for debugging. 2007-09-26 18:09:19 +01:00
Gustavo J. A. M. Carneiro
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. 2007-09-24 16:11:43 +01:00
Gustavo J. A. M. Carneiro
bd51ec2c87 Fix a regression in handling of broadcast packets and UDP sockets (closes bug #51). 2007-09-24 11:00:08 +01:00
Gustavo J. A. M. Carneiro
75c461c8f9 Remove a redundant log message 2007-09-21 18:07:54 +01:00
Gustavo J. A. M. Carneiro
c8d4f578af Call Simulator::Destroy () before running simulator unit tests, to force time to start from zero (some tests check for absolute times) 2007-09-21 18:04:53 +01:00
Gustavo J. A. M. Carneiro
4b242b57c8 Use NS_TEST_* macros for simulator unit tests 2007-09-21 17:57:06 +01:00
Gustavo J. A. M. Carneiro
6a5e3bf70d Fix a small error in the unit test added recently (though it doesn't change the result) 2007-09-21 15:57:20 +01:00
Gustavo J. A. M. Carneiro
43bb81fd82 Add a couple of Udp socket unit tests: unicast (passing) and broadcast (failing, bug #51). 2007-09-21 15:54:00 +01:00
Tom Henderson
1d79c8dc53 change ephemeral port range to 49152-65535 (IANA recommendation) 2007-09-14 16:11:36 -07:00
Tom Henderson
bba1cb3859 remove local address setting from UdpSocket::Connect() 2007-09-14 15:46:04 -07:00
Tom Henderson
9ef345f02d Enable enqueue/dequeue tracing for point-to-point links 2007-09-14 14:42:31 -07:00
Craig Dowell
8649c899db allow discrete levels 2007-09-14 09:57:53 -07:00
Craig Dowell
ed9f98bda1 disable log unless debug build 2007-09-13 22:17:29 -07:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Craig Dowell
90b02a4f6c checkpoint debug to log 2007-09-13 17:47:42 -07:00
Craig Dowell
16b634a7fc sorting out logging 2007-09-13 12:37:30 -07:00
Craig Dowell
6c30d76401 merge with trunk 2007-09-13 10:53:24 -07:00
Craig Dowell
9bc6fe4e7a finish up basic echo apps 2007-09-13 10:52:41 -07:00
Craig Dowell
61a105af21 working one way echo app 2007-09-12 16:54:21 -07:00
Craig Dowell
51a6c25e16 log rides along for free 2007-09-12 16:24:31 -07:00
Craig Dowell
0e3ff45eb9 server half 2007-09-12 16:20:07 -07:00
Craig Dowell
77e7c6f60f start of udp echo applications 2007-09-12 15:23:25 -07:00
Mathieu Lacage
3e89ecfdf6 rename Euixx to Macxx 2007-09-12 11:39:46 +02:00
Mathieu Lacage
644fffd69f merge with trunk 2007-09-12 11:22:32 +02:00
Mathieu Lacage
a84dd0068c enable buffer heuristics 2007-09-12 11:22:05 +02:00
Mathieu Lacage
eb05af8e74 add 'internal' documentation, cleanup a bit 2007-09-12 11:16:18 +02:00
Mathieu Lacage
7c6c5fe445 fix non-optimized build 2007-09-12 10:11:57 +02:00