Changeset 6df418c4 in mainline for uspace/srv/net/tl/tcp/tcp_type.h


Ignore:
Timestamp:
2011-10-24T04:23:23Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e88fea
Parents:
f343a16
Message:

Retransmission queue, detect ACK of FIN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp_type.h

    rf343a16 r6df418c4  
    9999} tcp_iqueue_t;
    100100
     101typedef struct {
     102        struct tcp_conn *conn;
     103        list_t list;
     104} tcp_tqueue_t;
     105
    101106typedef struct tcp_conn {
    102107        link_t link;
     
    108113        tcp_cstate_t cstate;
    109114
     115        /** Set when FIN is removed from the retransmission queue */
     116        bool fin_is_acked;
     117
    110118        /** Queue of incoming segments */
    111119        tcp_iqueue_t incoming;
     120
     121        /** Retransmission queue */
     122        tcp_tqueue_t retransmit;
    112123
    113124        /** Receive buffer */
     
    199210} tcp_iqueue_entry_t;
    200211
     212typedef struct {
     213        link_t link;
     214        tcp_segment_t *seg;
     215} tcp_tqueue_entry_t;
     216
    201217typedef enum {
    202218        cp_continue,
Note: See TracChangeset for help on using the changeset viewer.