Changeset 7cf7ded in mainline for uspace/srv/net/tl/tcp/seq_no.c


Ignore:
Timestamp:
2011-11-15T23:50:57Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f3f6285
Parents:
8218b6b
Message:

TCP retransmission (WIP). Allow setting timer in timer handler.
Simulate packet drop. Fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/seq_no.c

    r8218b6b r7cf7ded  
    8888}
    8989
     90/** Determine if sequence number is in receive window. */
     91bool seq_no_in_rcv_wnd(tcp_conn_t *conn, uint32_t sn)
     92{
     93        return seq_no_le_lt(conn->rcv_nxt, sn, conn->rcv_nxt + conn->rcv_wnd);
     94}
     95
    9096/** Determine segment has new window update.
    9197 *
Note: See TracChangeset for help on using the changeset viewer.