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
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
c101158f24
make simulator schedule calls explicitly relative throughout. fixes multithread problem in realtime simulator
2008-10-10 15:24:56 -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
24a1fdfc69
Improve debug logging in Node::ReceiveFromDevice
2008-10-06 18:21:04 +01:00
Craig Dowell
4215553314
bug 337
2008-10-02 15:22:17 -07: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
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
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
Florian Westphal
41fffa73b9
nsc: make sure nsc has a configured interface
...
the receive method hands packets to the nsc core via
nsc's if_receive_packet() method.
NSC (rightfully) assumes that if it gets a packet, there must
be a network interface. However, at this time the interface
initialization in ns-3-nsc is done when the first socket is created.
The result is a segmentation fault inside nsc when ns-3 receives
a packet on an nsc-enabled node before a socked has been created
on that node.
For the time being, use NS_ASSERT to make sure the nsc interface exits.
This also gets rid of the NS_LOG use inside the Softinterrupt timer
method and replaces
NS_LOG_FUNCTION_NOARGS with NS_LOG_FUNCTION (this), as suggested by
Mathieu Lacage.
2008-09-22 22:18:53 +02:00
Craig Dowell
4105b6e392
Apply Sam's nsc regression patch
2008-09-17 20:04:26 -07:00
Tom Henderson
b005d33fb9
fix some Doxygen warnings
2008-09-15 06:10:53 -07:00
Tom Henderson
1994268a9b
merge with tip
2008-09-12 16:13:20 -07:00
Tom Henderson
5d9c714c1e
Doxygen for internet-stack
2008-09-12 16:12:58 -07:00
Tom Henderson
6f3dc648ed
doxygen for src/contrib
2008-09-12 11:34:25 -07:00
Craig Dowell
a7f445f460
fix bug 338, MTU overflows frameSize
2008-09-11 15:32:39 -07:00
Mathieu Lacage
f5bb4c3302
bug 333:The Position attribute is not constructable anymore.
2008-09-11 11:08:22 -07:00
Mathieu Lacage
75cba72257
Do not assert. Use NS_FATAL_ERROR.
2008-09-11 09:54:19 -07:00
Gustavo J. A. M. Carneiro
7c2c80af1b
Check the return value of read(); Fixes #336 .
2008-09-11 15:21:19 +01:00
Florian Westphal
9f901c8ef1
nsc: fix liblinux2.6.18.so sym link creation
...
changeset 3628:a9c05c7e54f2 ('Move all NSC related build code into
src/internet-stack') erronoulsy moved the sym link creation outside
of the loop.
closes bug #328 .
2008-09-10 13:11:35 +02:00
Florian Westphal
9f2e63f535
nsc: remove nsc builddir symlink
...
changeset 3635:cddd59578812 ('compile nsc code unconditionally')
added the nsc header files to ns-3 and fixed up the include paths,
so we no longer need to create a builddir/nsc symlink to find them.
2008-09-10 12:46:59 +02:00
Craig Dowell
cb9b816af0
enable nsc when nsc enabled
2008-09-09 17:09:37 -07:00
Mathieu Lacage
e5870d73cb
bug 322: download nsc from released location if in 'release' mode.
2008-09-09 10:15:40 -07:00
Mathieu Lacage
cd64cbad48
initialize sta listen interval
2008-09-08 14:45:11 -07:00
Mathieu Lacage
69aa96cfe8
initialize m_ctrlPwrMgt
2008-09-08 14:40:48 -07:00
Mathieu Lacage
18f4a0f940
don't use bitfields: they are evil.
2008-09-08 14:40:27 -07:00
Mathieu Lacage
9b48ec2c9c
should set retry bit in rts and acks.
2008-09-08 14:39:59 -07:00
Mathieu Lacage
d654a7c67a
should set retry bit in acks.
2008-09-08 14:37:54 -07:00
Mathieu Lacage
6f2fba35ab
make mobility helper ascii output more robust to formatting portability problems.
2008-09-08 13:13:09 -07:00
Mathieu Lacage
f75a46a16c
do not reserve space for unwritten data to avoid memory initialization problems
2008-09-08 12:22:29 -07:00
Mathieu Lacage
320dcbbfee
bug 316: make nsc compilation conditional again
2008-09-08 09:22:45 -07:00
Gustavo J. A. M. Carneiro
8bb361bcba
Missing include
2008-09-08 12:54:47 +01:00
Gustavo J. A. M. Carneiro
986a63bbb4
merge
2008-09-08 12:35:08 +01:00
Gustavo J. A. M. Carneiro
e1f187d38a
Detect the pthread.h header file and automatically disable components that cannot build without it.
2008-09-08 12:19:46 +01:00
Unknown
ae217b0eaa
Don't build realtime simulator if required core components aren't built
2008-09-07 20:13:51 -07:00