Mathieu Lacage
82bbe71419
rename RealtimeSimulator to WallclockSimulator
2008-10-15 14:51:16 +02:00
Mathieu Lacage
6557016724
remove uneeded includes.
2008-10-15 14:42:27 +02:00
Mathieu Lacage
5dc0415289
move MakeEvent out of Simulator
2008-10-15 14:35:28 +02:00
Mathieu Lacage
e33fc49877
avoid using Ptr<EventImpl>
2008-10-15 13:35:49 +02:00
Mathieu Lacage
b4e442df4d
don't use EventId in Schedulers: use Scheduler::Event instead.
2008-10-15 13:05:33 +02:00
Mathieu Lacage
253fecb82e
define Scheduler::Event and use it in Scheduler::Insert
2008-10-15 10:33:43 +02:00
Mathieu Lacage
64c11d222a
reuse operator < (EventKey)
2008-10-15 10:11:32 +02:00
Mathieu Lacage
0d77861853
remove uneeded include.
2008-10-15 10:10:53 +02:00
Mathieu Lacage
50f23a7579
merge with HEAD
2008-10-15 09:50:28 +02:00
Mathieu Lacage
414c2ff3ad
constify
2008-10-15 09:49:39 +02:00
Craig Dowell
2ca2b4e6bf
implement a non-realtime version of RunOneEvent for realtime simulator and allow Run, Stop, Run
2008-10-14 23:13:12 -07:00
Craig Dowell
8b6dc98d14
slight reorganization and naming change for added realtime methods
2008-10-14 22:52:41 -07:00
Gustavo J. A. M. Carneiro
213f6526a8
Rescan API for Python.
2008-10-12 18:04:10 +01:00
Gustavo J. A. M. Carneiro
f75fbc1512
Upgrade to pybindgen rev. 598, to fix bug #291 .
2008-10-12 14:40:26 +01:00
Craig Dowell
415f3adbc5
added test for m_running in ScheduleRealNow
2008-10-10 21:01:50 -07:00
Craig Dowell
55cca9abef
it helps to remember to add function implementations
2008-10-10 16:43:43 -07:00
Craig Dowell
b6a9b08f75
add dangerous realtime scheduling methods in an intentionally harder to find and use way
2008-10-10 16:22:13 -07:00
Craig Dowell
8675d64f46
branch merge
2008-10-10 15:26:32 -07:00
Craig Dowell
c101158f24
make simulator schedule calls explicitly relative throughout. fixes multithread problem in realtime simulator
2008-10-10 15:24:56 -07:00
Tom Henderson
b03afa5f00
remove tgif figures; replace with dia
2008-10-10 15:01:20 -07:00
Tom Henderson
43f3993d36
branch merge
2008-10-10 14:22:53 -07:00
Tom Henderson
1581ac4450
remove tgif figures; replace with dia
2008-10-10 14:21:58 -07:00
Mathieu Lacage
aea71064a4
bug 331: constify Packet::PeekHeader
2008-10-10 11:20:53 +02:00
Mathieu Lacage
32ce5ce0be
bug 367: generate beacons by default at time 0.0
2008-10-10 11:18:46 +02:00
Mathieu Lacage
e20b335199
bug 361: make GetBssid public.
2008-10-10 09:24:35 +02:00
Gustavo J. A. M. Carneiro
9239dcf55a
merge
2008-10-07 12:39:27 +01:00
Gustavo J. A. M. Carneiro
81bcdc9bf8
Fix compat. with Python < 2.5 (fixes ns-old regression failure)
2008-10-07 12:23:57 +01:00
Tom Henderson
14dbd0649f
typo fix (bug 373)
2008-10-06 22:39:53 -07:00
Gustavo J. A. M. Carneiro
24a1fdfc69
Improve debug logging in Node::ReceiveFromDevice
2008-10-06 18:21:04 +01:00
Gustavo J. A. M. Carneiro
8a664200e5
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
2008-10-06 17:39:35 +01:00
Tom Henderson
1c3dcd37b3
bug in script-- Stop not being called
2008-10-02 16:48:01 -07:00
Craig Dowell
4215553314
bug 337
2008-10-02 15:22:17 -07:00
Gustavo J. A. M. Carneiro
c2985053a3
Pull pybindgen revno 582 for increased stability of the generated python files with multiple developers doing the scanning.
2008-10-02 17:30:38 +01:00
Gustavo J. A. M. Carneiro
3997faf477
merge
2008-10-02 17:16:04 +01:00
Gustavo J. A. M. Carneiro
03e1a6bae5
Exit WAF after processing --python-scan to avoid incorrect builds, since WAF does not handle well files being generated into the source dir instead of the build dir
2008-10-02 17:15:09 +01:00
Mathieu Lacage
2160b31237
add private operator = to disable it
2008-10-02 17:05:16 +02:00
Mathieu Lacage
35c25f995e
hide window when starting simulation.
2008-10-02 15:04:28 +02:00
Mathieu Lacage
5cd9a601e1
change button label to be more explicit
2008-10-02 14:57:39 +02:00
Gustavo J. A. M. Carneiro
d607ae00f3
Need to acquire the Python GIL also in ~PythonEventImpl, as it may be called at any time from the C++ code, from any thread.
2008-09-27 15:32:04 +01:00
Gustavo J. A. M. Carneiro
8e454b058b
Get newer pybindgen, for stl containers support
2008-09-27 15:26:27 +01:00
Gustavo J. A. M. Carneiro
9866cc1ce3
merge
2008-09-27 15:17:37 +01:00
Gustavo J. A. M. Carneiro
79e685df92
Allow interrupting PyBindGen fetching, via Ctrl-C, for the impatient developers.
2008-09-27 15:06:38 +01:00
Mathieu Lacage
e864af7983
fix build with gcc 4.3.0
2008-09-25 15:50:07 -07:00
Florian Westphal
3a6bf88a49
nsc: delay creating nsc interface using ScheduleNow ().
...
because we cannot rely on the node to have any assigned interface
when the nsc stack is initialised, we need to delay creating the nsc
interface. Up until now this was done by initialising the interface
when the first socket is opened, which resulted in a segfault or
an assertion failure when a packet arrived but no socket was ever created...
2008-09-25 01:43:27 +02:00
Mathieu Lacage
f8bbbbc899
make sure sinks are started
2008-09-23 16:38:51 -07:00
Mathieu Lacage
fbf3dd3cf7
make sure that the sinks are started
2008-09-23 16:31:54 -07:00
Mathieu Lacage
a7b4e36b84
use better variable names.
2008-09-23 16:14:00 -07:00
Mathieu Lacage
97b7179161
the sink must be enabled on node 2
2008-09-23 16:02:30 -07:00
Craig Dowell
102623e2b1
mispeeling in introduction.texi
2008-09-23 09:53:52 -07:00
Florian Westphal
266bc671a5
nsc: avoid unecessary use of posix headers
...
this removes usage of struct iphdr and inet_ntoa.
Replaced by uint32_t[] (we only need to fetch source/destination
ip addresses) and Ipv4Header::Print(), respectively.
netinet/in.h and arpa/inet.h are retained for the time being
due to ntohs/ntohl.
2008-09-23 01:09:43 +02:00