Ignore:
Timestamp:
Dec 20, 2008, 10:19:34 PM (12 years ago)
Author:
charles
Message:

try to rework the bandwidth code yet again s.t. it satisfies all three: (1) fairly distributes bandwidth across all peers, (2) scales well in high-bandwidth situations, (3) is good at hitting and staying at bandwidth limits/goals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.h

    r7419 r7441  
    2626struct tr_bandwidth;
    2727struct tr_crypto;
    28 struct tr_iobuf;
    2928typedef struct tr_peerIo tr_peerIo;
    3029
     
    214213**/
    215214
     215tr_bool   tr_peerIoHasBandwidthLeft( const tr_peerIo  * io,
     216                                     tr_direction       direction );
     217
     218void      tr_peerIoSetEnabled( tr_peerIo    * io,
     219                               tr_direction   dir,
     220                               tr_bool        isEnabled );
     221                       
    216222int       tr_peerIoFlush( tr_peerIo     * io,
    217223                          tr_direction    dir,
Note: See TracChangeset for help on using the changeset viewer.