libktorrent  2.2.0
Public Member Functions | Public Attributes | List of all members
utp::WindowPacket Struct Reference

Public Member Functions

 WindowPacket (bt::Uint16 seq_nr)
 
 WindowPacket (bt::Uint16 seq_nr, bt::Buffer::Ptr packet, bt::Uint32 data_off)
 
bool fullyRead () const
 
bt::Uint32 read (bt::Uint8 *dst, bt::Uint32 max_len)
 
void set (bt::Buffer::Ptr packet, bt::Uint32 data_off)
 

Public Attributes

bt::Uint32 bytes_read
 
bt::Buffer::Ptr packet
 
bt::Uint16 seq_nr
 

Detailed Description

Definition at line 38 of file localwindow.h.


The documentation for this struct was generated from the following file: