Commit Graph

3717 Commits

Author SHA1 Message Date
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 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 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 2008-09-15 21:37:40 -07:00
Tom Henderson
fea009e803 merge with tip 2008-09-15 06:11:38 -07:00
Tom Henderson
b005d33fb9 fix some Doxygen warnings 2008-09-15 06:10:53 -07:00
Gustavo J. A. M. Carneiro
6c7aa38c60 Add python based csma-bridge regression test. Closes #344. 2008-09-15 11:45:32 +01:00
Gustavo J. A. M. Carneiro
aa6308bc1a Make the example less verbose (for use in regression) 2008-09-15 11:39:15 +01:00
Mathieu Lacage
8e3cdc2e0c don't change VERSION 2008-09-14 17:55:30 -07:00
Mathieu Lacage
77e3a780bb merge with HEAD 2008-09-14 11:40:10 -07:00
Mathieu Lacage
0c7ed36240 don't try to download traces if they are already there. 2008-09-14 11:39:58 -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
f51afd386b Added tag ns-3.2-RC2-bis for changeset d783a951f8f5 2008-09-12 10:36:57 -07:00
Craig Dowell
370c7f7215 update RELEASE_NOTES known issues 2008-09-12 10:19:40 -07:00
Craig Dowell
d0696fd776 release_steps.txt nits 2008-09-12 10:12:50 -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
d82bf3abd6 make sample run. 2008-09-11 10:08:18 -07:00
Mathieu Lacage
75cba72257 Do not assert. Use NS_FATAL_ERROR. 2008-09-11 09:54:19 -07:00
Tom Henderson
a70b07289e updates to the tutorial introduction 2008-09-11 08:46:29 -07:00
Tom Henderson
c46f02e9c8 add reference to wiki page 2008-09-11 08:45:00 -07:00
Tom Henderson
e054045b37 some release notes edits 2008-09-11 08:18:04 -07:00
Tom Henderson
1e1a5caeb2 fix formatting 2008-09-11 08:17:37 -07:00
Gustavo J. A. M. Carneiro
7c2c80af1b Check the return value of read(); Fixes #336. 2008-09-11 15:21:19 +01:00
Gustavo J. A. M. Carneiro
a4aeb6e815 Check for mercurial in configuration stage; also fixes OSError exception when mercurial was not available. 2008-09-11 11:44:39 +01:00
Gustavo J. A. M. Carneiro
f13ffe2ed2 Make the WAF env available to regression tests 2008-09-11 11:35:42 +01:00
Florian Westphal
7fb1cd3b38 nsc: rework tcp-nsc-zoo example
- fix segfault when nodes argument <=3
- reduce data rate and run time to get smaller pcap files
- add rng seed to make output stable
2008-09-11 01:34:46 +02:00
Craig Dowell
0d8bed8b04 Added tag ns-3.2-RC2 for changeset 319eb29611b1 2008-09-10 12:38:48 -07: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
Gustavo J. A. M. Carneiro
ffe65494c4 merge 2008-09-10 11:34:33 +01:00
Gustavo J. A. M. Carneiro
b0f7bbf060 Stop the /dev/null redirection abuse 2008-09-10 11:33:30 +01:00
Craig Dowell
cb9b816af0 enable nsc when nsc enabled 2008-09-09 17:09:37 -07:00
Mathieu Lacage
c8929f34e6 fix typo to allow cloning traces when they are not there yet 2008-09-09 12:35:11 -07:00
Craig Dowell
311955363b prep for ns-3.2-RC2 2008-09-09 11:34:44 -07:00