Changeset 7cf7ded in mainline for uspace/srv/net/tl/tcp/tcp_type.h


Ignore:
Timestamp:
2011-11-15T23:50:57Z (12 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/tcp_type.h

    r8218b6b r7cf7ded  
    9494} tcp_sockpair_t;
    9595
     96/** Connection incoming segments queue */
    9697typedef struct {
    9798        struct tcp_conn *conn;
     
    99100} tcp_iqueue_t;
    100101
     102/** Retransmission queue */
    101103typedef struct {
    102104        struct tcp_conn *conn;
    103105        list_t list;
     106
     107        /** Retransmission timer */
     108        fibril_timer_t *timer;
    104109} tcp_tqueue_t;
    105110
    106111typedef struct tcp_conn {
     112        char *name;
    107113        link_t link;
    108114
     
    221227} tcp_iqueue_entry_t;
    222228
    223 typedef struct {
    224         link_t link;
     229/** Retransmission queue entry */
     230typedef struct {
     231        link_t link;
     232        tcp_conn_t *conn;
    225233        tcp_segment_t *seg;
    226234} tcp_tqueue_entry_t;
Note: See TracChangeset for help on using the changeset viewer.