Commit Graph
3749 Commits
Author SHA1 Message Date
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 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
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 05d0f37dda Added tag ns-3.2 for changeset 2ecac911b3ec 2008-09-22 10:36:24 -07:00
Tom Henderson 06f2b16d78 Add chapter on realtime scheduler to manual ns-3.2 2008-09-21 13:10:08 -07:00
Tom Henderson 5d82b2e31f new manual chapter on TCP 2008-09-20 15:45:31 -07:00
Craig Dowell 4a3ee19a31 mispeeling in RELEASE_NOTES 2008-09-18 15:29:00 -07:00
Craig Dowell 8785a190ee Added tag ns-3.2-RC4 for changeset 68218c266a84 2008-09-18 15:28:35 -07:00
Tom Henderson 9e1a3adf6f document ConfigStore ns-3.2-RC4 2008-09-18 07:28:03 -07:00
Craig Dowell 4105b6e392 Apply Sam's nsc regression patch 2008-09-17 20:04:26 -07:00
Gustavo J. A. M. Carneiro a2f945ddda Add missing Python GIL locking in PythonEventImpl::Notify 2008-09-17 15:47:07 +01:00
Craig Dowell 4c13936623 Added tag ns-3.2-RC3 for changeset fa1c7b813873 2008-09-16 11:55:52 -07:00
Tom Henderson c060f84ef9 freshen tutorial ns-3.2-RC3 2008-09-15 21:37:40 -07:00
Tom Henderson fea009e803 merge with tip 2008-09-15 06:11:38 -07:00