Mathieu Lacage <mathieu.lacage@sophia.inria.fr> [Thu, 25 Sep 2008 15:50:07 -0700] rev 3718
fix build with gcc 4.3.0
Florian Westphal <fw@strlen.de> [Thu, 25 Sep 2008 01:43:27 +0200] rev 3717
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...
Mathieu Lacage <mathieu.lacage@sophia.inria.fr> [Tue, 23 Sep 2008 16:38:51 -0700] rev 3716
make sure sinks are started
Mathieu Lacage <mathieu.lacage@sophia.inria.fr> [Tue, 23 Sep 2008 16:31:54 -0700] rev 3715
make sure that the sinks are started
Mathieu Lacage <mathieu.lacage@sophia.inria.fr> [Tue, 23 Sep 2008 16:14:00 -0700] rev 3714
use better variable names.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr> [Tue, 23 Sep 2008 16:02:30 -0700] rev 3713
the sink must be enabled on node 2
Craig Dowell <craigdo@ee.washington.edu> [Tue, 23 Sep 2008 09:53:52 -0700] rev 3712
mispeeling in introduction.texi
Florian Westphal <fw@strlen.de> [Tue, 23 Sep 2008 01:09:43 +0200] rev 3711
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.
Florian Westphal <fw@strlen.de> [Mon, 22 Sep 2008 22:18:53 +0200] rev 3710
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.
Craig Dowell <craigdo@ee.washington.edu> [Mon, 22 Sep 2008 10:36:24 -0700] rev 3709
Added tag ns-3.2 for changeset 2ecac911b3ec