Skip to content

Commit

Permalink
tcp: Rework segment arrival handling
Browse files Browse the repository at this point in the history
Follow RFC793 section "SEGMENT ARRIVES".

There are 4 major cases:

1) If the state is CLOSED
2) If the state is LISTEN
3) If the state is SYN-SENT
4) If the state is other state

Note:

- This change is significant (more than 10 pages in RFC793 describing
  this segment arrival handling).
- More test is needed. Good news is, so far, tcp_server(ping/txtx/rxrx)
  tests and httpd work fine.
  • Loading branch information
asias authored and avikivity committed Jan 29, 2015
1 parent 661bb3d commit 0ab01d0
Showing 1 changed file with 639 additions and 249 deletions.
Loading

0 comments on commit 0ab01d0

Please sign in to comment.