The CiAO configurable TCP/IP-Stack :-)



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1369 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: TCP Sockets API extended by a new method 'poll(timeout)'
 * behaves similar to receive, but returns after specified timeout
   or new packet reception
 * result is the amount of received payload bytes while polling
 


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1378 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: moved some (often used) tcp function implementations from .h to .cpp
 * reduces code size about 5 KiB on IA-32 :-)



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1382 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: moved tcp api function implemenation to .cpp file


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1383 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: moved another two (often used explicit join-points inside tcp) from .h to .cpp


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1384 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack:
 * API extended by placement new
   -> allows socket objects to be used as global objects
      rather than on the (possibly small) task stack
   -> needed because api relies on constructors



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1385 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: fixed most compiler warnings/errors on mspgcc4



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1392 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: renamed htons, htonl, ntohs, ntohl
               in order to avoid conflicts with built-in functions


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1393 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: Bugfix for receiving TCP Packets
 * stupid programming mistake resulted in indefinite loop
 * thanks to mike for debugging



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1413 857cdeed-beef-0310-bd7e-d983e88953ba
ICMP Implementation added


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1418 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: ICMP Bugs fixed
 * bugs and design flaws introduced by new icmp implementation removed
 * ONLY ICMP echo reply works now
   - there are still bugs concerning icmp checksum offloading
   - destination protocol/port left unfunctional yet



git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1420 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: ICMP bugs and design flaws fixed (hopefully)
 * all ICMP features restored
 * ICMP checksum offloading still unimplemented


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1422 857cdeed-beef-0310-bd7e-d983e88953ba
CiAO IP-Stack: revised tcp rtt estimation and slow start implementation


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1426 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: Codesize of TCP SYNSENT state reduced


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1434 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: minor TCP_Socket fix


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1435 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: added SystemClock abstraction


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1436 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: setting ACK improved


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1437 857cdeed-beef-0310-bd7e-d983e88953ba
fix a signed vs unsigned comparison compiler warning


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1440 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: Codesize reduction due to moving slice implementations to separate compilation units


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1442 857cdeed-beef-0310-bd7e-d983e88953ba
IP-Stack: TCP statemachine made configurable


git-svn-id: https://www4.informatik.uni-erlangen.de:8088/i4ciao/ciaoos/trunk@1444 857cdeed-beef-0310-bd7e-d983e88953ba