author | Florian Westphal <fw@strlen.de> |
Sat, 15 Aug 2009 00:33:43 +0200 | |
changeset 6 | b4128f070989 |
parent 2 | d1f6d8b6f81c |
permissions | -rw-r--r-- |
0
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
1 |
This repository must be put into to main |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
2 |
nsc (network simulation cradle) directory. |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
3 |
|
2 | 4 |
Then, edit SConstruct and add the nsc-linux-2.6.29 directory: |
0
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
5 |
|
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
6 |
--- a/SConstruct Wed Nov 19 12:16:31 2008 -0800 |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
7 |
+++ b/SConstruct Sun Jan 11 20:16:18 2009 +0100 |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
8 |
@@ -145,5 +145,6 @@ |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
9 |
SConscript('linux-2.6/SConscript') |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
10 |
SConscript("linux-2.6.18/SConscript") |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
11 |
SConscript("linux-2.6.26/SConscript") |
2 | 12 |
+SConscript("nsc-linux-2.6.29/SConscript") |
0
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
13 |
|
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
14 |
SConscript('test/SConscript') |
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
15 |
|
aa628870c1d3
Port of Linux 2.6.28 for use with network simulation cradle.
Florian Westphal <fw@strlen.de>
parents:
diff
changeset
|
16 |
|
2 | 17 |
Then, run "python scons.py nsc-linux-2.6.29" to build the linux 2.6.29 port. |
18 |
the library will be called liblinux2.6.29.so. |
|
19 |
||
20 |
The stack has support for SCTP and TCP protocols. |
|
21 |
||
22 |
A word of warning: stack memory is hardcoded to about 390 MB of memory. |
|
23 |
This is _wrong_, but to really fix this the NSC API must be extended |
|
24 |
to allow setting the memory available to the stack (phys_pages et. al.) |
|
25 |
before stack initialisation. |
|
26 |
||
27 |
IF you want to change those values, see nsc/implemented.c and look for |
|
28 |
"nr_all_pages" (they influence things like TCP window scaling). |