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


Ignore:
Timestamp:
2011-12-19T18:50:17Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1440eae, d9cf684a
Parents:
58f6229 (diff), 522a4f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge TCP improvements.

File:
1 edited

Legend:

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

    r58f6229 ra438de4  
    162162        acpass_t ap;
    163163
     164        /** Protects access to connection structure */
     165        fibril_mutex_t lock;
     166        /** Reference count */
     167        atomic_t refcnt;
     168
    164169        /** Connection state */
    165170        tcp_cstate_t cstate;
    166171        /** True if connection was reset */
    167172        bool reset;
    168         /** Protects @c cstate */
    169         fibril_mutex_t cstate_lock;
     173        /** True if connection was deleted by user */
     174        bool deleted;
    170175        /** Signalled when @c cstate changes */
    171176        fibril_condvar_t cstate_cv;
     
    191196        /** Receive buffer contains FIN */
    192197        bool rcv_buf_fin;
    193         /** Receive buffer lock */
    194         fibril_mutex_t rcv_buf_lock;
    195198        /** Receive buffer CV. Broadcast when new data is inserted */
    196199        fibril_condvar_t rcv_buf_cv;
     
    204207        /** Send buffer contains FIN */
    205208        bool snd_buf_fin;
     209        /** Send buffer CV. Broadcast when space is made available in buffer */
     210        fibril_condvar_t snd_buf_cv;
    206211
    207212        /** Send unacknowledged */
Note: See TracChangeset for help on using the changeset viewer.