README
author Florian Westphal <fw@strlen.de>
Thu, 09 Apr 2009 12:08:24 +0200
changeset 3 f9523cadd9ba
parent 2 d1f6d8b6f81c
permissions -rw-r--r--
add include/crypto/hash.h, slipped through the cracks...

This repository must be put into to main
nsc (network simulation cradle) directory.

Then, edit SConstruct and add the nsc-linux-2.6.29 directory:

--- a/SConstruct        Wed Nov 19 12:16:31 2008 -0800
+++ b/SConstruct        Sun Jan 11 20:16:18 2009 +0100
@@ -145,5 +145,6 @@
 SConscript('linux-2.6/SConscript')
 SConscript("linux-2.6.18/SConscript")
 SConscript("linux-2.6.26/SConscript")
+SConscript("nsc-linux-2.6.29/SConscript")
 
 SConscript('test/SConscript')


Then, run "python scons.py nsc-linux-2.6.29" to build the linux 2.6.29 port.
the library will be called liblinux2.6.29.so.

The stack has support for SCTP and TCP protocols.

A word of warning: stack memory is hardcoded to about 390 MB of memory.
This is _wrong_, but to really fix this the NSC API must be extended
to allow setting the memory available to the stack (phys_pages et. al.)
before stack initialisation.

IF you want to change those values, see nsc/implemented.c and look for
"nr_all_pages" (they influence things like TCP window scaling).