Gustavo J. A. M. Carneiro
5e8275ba01
Try to guess NSC location (finally closes #478 )
2009-01-24 15:38:20 +00:00
Tom Henderson
ca5532bb82
fix for bug451-- arp cache
2008-12-30 11:35:31 -08:00
Gustavo J. A. M. Carneiro
9baeb00519
Put back the variable NSC_RELEASE_NAME in the wscript; it is read by the download script in allinone.
2009-01-12 11:25:51 +00:00
Gustavo J. A. M. Carneiro
fdaf129f60
Don't build or fetch NSC/pybindgen, those tasks are now moved to ns-3-allinone
2009-01-11 23:26:34 +00:00
Gustavo J. A. M. Carneiro
cc8b7c6f36
Append the NSC kernel dirs to LD_LIBRARY_PATH
...
This allows the NSC NS-3 module to find the necessary NSC shared libraries.
2009-01-10 00:46:24 +00:00
Gustavo J. A. M. Carneiro
b5e05e774e
merge
2008-12-29 14:19:25 +00:00
Gustavo J. A. M. Carneiro
f19d54fddd
Upgrade to new WAF, work in progress
2008-12-29 13:28:54 +00:00
Gustavo J. A. M. Carneiro
aeed1dc66e
merge
2008-12-28 12:34:28 +00:00
Raj Bhattacharjea
71efdc0b02
Add a minimum RTO (adapted from Mathieu, bug 418)
2008-12-13 23:44:20 -05:00
Raj Bhattacharjea
7175cad6df
Mathieu's patch: Avoid stack explosion (bug 417)
2008-12-13 23:26:01 -05:00
Craig Dowell
1ff082ece7
some dox for internet-stack tracing
2008-12-13 14:13:37 -08:00
Raj Bhattacharjea
20f06108c1
Null forked TCP socket callbacks, and communicate EOF to higher layers (bugs 423 and 365)
2008-12-11 16:48:42 -05:00
Craig Dowell
cea36a7ce4
make a pass through doxygen fixing errors
2008-12-09 20:29:04 -08:00
Gustavo J. A. M. Carneiro
aab8ebd04e
Add --with-nsc configuration option
2008-12-07 19:02:55 +00:00
Gustavo J. A. M. Carneiro
ca92874e34
Fix nsc/python-scan task descriptions
2008-12-04 11:34:01 +00:00
Raj Bhattacharjea
802e26d2f8
Don't ignore TCP acks received in CLOSE_WAIT state (fixes bug 392)
2008-12-03 21:09:52 -05:00
Raj Bhattacharjea
d4002102f6
Support TCP delackcount>2 (bug 250)
2008-12-03 21:08:44 -05:00
Tom Henderson
9d8fe8e81f
Fix bug358; return EINVAL for inappropriate listen() call
2008-12-01 21:45:32 -08:00
Tom Henderson
ebf89f2294
branch merge
2008-12-01 21:35:24 -08:00
Tom Henderson
ea2f7aeed8
add missing files
2008-12-01 21:34:33 -08:00
Tom Henderson
07e526f6de
branch merge
2008-12-01 21:33:52 -08:00
Tom Henderson
f3dc299e82
Remove redundant m_txTrace in ipv4-l3-protocol
2008-12-01 21:29:59 -08:00
Tom Henderson
655aa68d54
Segregate Ipv4GlobalRouting from Ipv4StaticRouting; add API for deleting and recomputing global routes
2008-11-30 21:21:23 -08:00
Tom Henderson
bf571e8260
Drop packets in Ipv4L3Protocol::Receive if interface is down
2008-11-28 07:21:26 -08:00
Tom Henderson
6b0468c20b
Bug 400: allow /32 addresses to be used on IPv4 interfaces
2008-11-28 06:05:27 -08:00
Tom Henderson
d7fa009d70
Drop trace notification when outgoing interface is down
2008-11-19 16:41:17 -08:00
Sam Jansen
ee5cf0946f
Depend on nsc 0.5.0. This is required so the interface is the same for an NSC
2008-11-19 22:41:12 +01:00
Florian Westphal
b6939441cd
nsc-tcp-socket-impl: use new nsc getsockname/getpeername interface.
...
closes bugzilla #320 .
2008-11-18 23:14:02 +01:00
raj.
478bd474e0
apply patch for bug 390 (SocketImpl::Bind returns something other than -1)
2008-11-05 19:53:52 -08:00
Craig Dowell
3aa50e6af9
Apply Patch to address bug 294 -- due to vincent
2008-11-05 14:33:20 -08:00
Tom Henderson
a97b740785
Fix bug 362; cancel WaitReplyTimer when ArpCache is flushed
2008-10-30 22:04:12 -07:00
Craig Dowell
0df5a7183a
apply icmp patch
2008-10-29 11:18:39 -07:00
Raj Bhattacharjea
258bd81cab
Bug 311
2008-10-27 15:00:58 -04:00
Mathieu Lacage
26aa64c033
bug 386: make sure errno is not set incorrectly and don't access stale packets.
2008-10-24 09:22:50 +02:00
Craig Dowell
b4947df5d0
Liu's GetSockName patch
2008-10-23 15:59:48 -07:00
Craig Dowell
c7d0ce769c
Apply patch to fix bug 364
2008-10-23 11:51:15 -07:00
Craig Dowell
0d30646695
Remove queue limit from listen
2008-10-23 10:48:42 -07:00
Mathieu Lacage
b4745c7708
add debugging
2008-10-17 20:05:17 +02:00
Mathieu Lacage
414c2ff3ad
constify
2008-10-15 09:49: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
5d9c714c1e
Doxygen for internet-stack
2008-09-12 16:12:58 -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
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