|
| PseudoTcpForTest (cricket::IPseudoTcpNotify *notify, uint32_t conv) |
|
bool | isReceiveBufferFull () const |
|
void | disableWindowScale () |
|
| PseudoTcp (IPseudoTcpNotify *notify, uint32_t conv) |
|
virtual | ~PseudoTcp () |
|
int | Connect () |
|
int | Recv (char *buffer, size_t len) |
|
int | Send (const char *buffer, size_t len) |
|
void | Close (bool force) |
|
int | GetError () |
|
TcpState | State () const |
|
void | NotifyMTU (uint16_t mtu) |
|
void | NotifyClock (uint32_t now) |
|
bool | NotifyPacket (const char *buffer, size_t len) |
|
bool | GetNextClock (uint32_t now, long &timeout) |
|
void | GetOption (Option opt, int *value) |
|
void | SetOption (Option opt, int value) |
|
uint32_t | GetCongestionWindow () const |
|
uint32_t | GetBytesInFlight () const |
|
uint32_t | GetBytesBufferedNotSent () const |
|
uint32_t | GetRoundTripTimeEstimateMs () const |
|
| PseudoTcp (IPseudoTcpNotify *notify, uint32_t conv) |
|
virtual | ~PseudoTcp () |
|
int | Connect () |
|
int | Recv (char *buffer, size_t len) |
|
int | Send (const char *buffer, size_t len) |
|
void | Close (bool force) |
|
int | GetError () |
|
TcpState | State () const |
|
void | NotifyMTU (uint16_t mtu) |
|
void | NotifyClock (uint32_t now) |
|
bool | NotifyPacket (const char *buffer, size_t len) |
|
bool | GetNextClock (uint32_t now, long &timeout) |
|
void | GetOption (Option opt, int *value) |
|
void | SetOption (Option opt, int value) |
|
uint32_t | GetCongestionWindow () const |
|
uint32_t | GetBytesInFlight () const |
|
uint32_t | GetBytesBufferedNotSent () const |
|
uint32_t | GetRoundTripTimeEstimateMs () const |
|
|
enum | TcpState {
TCP_LISTEN,
TCP_SYN_SENT,
TCP_SYN_RECEIVED,
TCP_ESTABLISHED,
TCP_CLOSED,
TCP_LISTEN,
TCP_SYN_SENT,
TCP_SYN_RECEIVED,
TCP_ESTABLISHED,
TCP_CLOSED
} |
|
enum | Option {
OPT_NODELAY,
OPT_ACKDELAY,
OPT_RCVBUF,
OPT_SNDBUF,
OPT_NODELAY,
OPT_ACKDELAY,
OPT_RCVBUF,
OPT_SNDBUF
} |
|
enum | TcpState {
TCP_LISTEN,
TCP_SYN_SENT,
TCP_SYN_RECEIVED,
TCP_ESTABLISHED,
TCP_CLOSED,
TCP_LISTEN,
TCP_SYN_SENT,
TCP_SYN_RECEIVED,
TCP_ESTABLISHED,
TCP_CLOSED
} |
|
enum | Option {
OPT_NODELAY,
OPT_ACKDELAY,
OPT_RCVBUF,
OPT_SNDBUF,
OPT_NODELAY,
OPT_ACKDELAY,
OPT_RCVBUF,
OPT_SNDBUF
} |
|
static uint32_t | Now () |
|
static uint32_t | Now () |
|
enum | SendFlags {
sfNone,
sfDelayedAck,
sfImmediateAck,
sfNone,
sfDelayedAck,
sfImmediateAck
} |
|
enum | SendFlags {
sfNone,
sfDelayedAck,
sfImmediateAck,
sfNone,
sfDelayedAck,
sfImmediateAck
} |
|
typedef std::list< SSegment > | SList |
|
typedef std::list< SSegment > | SList |
|
uint32_t | queue (const char *data, uint32_t len, bool bCtrl) |
|
IPseudoTcpNotify::WriteResult | packet (uint32_t seq, uint8_t flags, uint32_t offset, uint32_t len) |
|
bool | parse (const uint8_t *buffer, uint32_t size) |
|
void | attemptSend (SendFlags sflags=sfNone) |
|
void | closedown (uint32_t err=0) |
|
bool | clock_check (uint32_t now, long &nTimeout) |
|
bool | process (Segment &seg) |
|
bool | transmit (const SList::iterator &seg, uint32_t now) |
|
void | adjustMTU () |
|
bool | isReceiveBufferFull () const |
|
void | disableWindowScale () |
|
uint32_t | queue (const char *data, uint32_t len, bool bCtrl) |
|
IPseudoTcpNotify::WriteResult | packet (uint32_t seq, uint8_t flags, uint32_t offset, uint32_t len) |
|
bool | parse (const uint8_t *buffer, uint32_t size) |
|
void | attemptSend (SendFlags sflags=sfNone) |
|
void | closedown (uint32_t err=0) |
|
bool | clock_check (uint32_t now, long &nTimeout) |
|
bool | process (Segment &seg) |
|
bool | transmit (const SList::iterator &seg, uint32_t now) |
|
void | adjustMTU () |
|
bool | isReceiveBufferFull () const |
|
void | disableWindowScale () |
|