#include <SCTPSendStream.h>
37 snprintf(queueName,
sizeof(queueName),
"OrderedSendQueue ID %d",
id);
38 streamQ =
new cPacketQueue(queueName);
39 snprintf(queueName,
sizeof(queueName),
"UnorderedSendQueue ID %d",
id);
40 uStreamQ =
new cPacketQueue(queueName);
cPacketQueue * streamQ
Definition: SCTPSendStream.h:47
SCTPAssociation * assoc
Definition: SCTPSendStream.h:41
uint16 nextStreamSeqNum
Definition: SCTPSendStream.h:43
uint16 streamId
Definition: SCTPSendStream.h:42
uint32 bytesInFlight
Definition: SCTPSendStream.h:44
uint16_t id
Definition: TCP_NSC.cc:85
bool fragInProgress
Definition: SCTPSendStream.h:46
cPacketQueue * uStreamQ
Definition: SCTPSendStream.h:48
bool resetRequested
Definition: SCTPSendStream.h:45
inet::sctp::SCTPSendStream::~SCTPSendStream |
( |
| ) |
|
void deleteQueue()
Definition: SCTPSendStream.cc:48
void inet::sctp::SCTPSendStream::deleteQueue |
( |
| ) |
|
Referenced by ~SCTPSendStream().
51 SCTPSimpleMessage *smsg;
54 datMsg = check_and_cast<SCTPDataMsg *>(
streamQ->pop());
55 smsg = check_and_cast<SCTPSimpleMessage *>(datMsg->decapsulate());
61 datMsg = check_and_cast<SCTPDataMsg *>(
uStreamQ->pop());
62 smsg = check_and_cast<SCTPSimpleMessage *>(datMsg->decapsulate());
cPacketQueue * streamQ
Definition: SCTPSendStream.h:47
int count(const std::vector< T > &v, const T &a)
Definition: stlutils.h:58
int32_t int32
Definition: Compat.h:31
cPacketQueue * uStreamQ
Definition: SCTPSendStream.h:48
uint32 inet::sctp::SCTPSendStream::getBytesInFlight |
( |
| ) |
const |
|
inline |
bool inet::sctp::SCTPSendStream::getFragInProgress |
( |
| ) |
const |
|
inline |
bool fragInProgress
Definition: SCTPSendStream.h:46
uint32 inet::sctp::SCTPSendStream::getNextStreamSeqNum |
( |
| ) |
|
uint16 inet::sctp::SCTPSendStream::getStreamId |
( |
| ) |
const |
|
inline |
cPacketQueue* inet::sctp::SCTPSendStream::getStreamQ |
( |
| ) |
const |
|
inline |
cPacketQueue* inet::sctp::SCTPSendStream::getUnorderedStreamQ |
( |
| ) |
const |
|
inline |
void inet::sctp::SCTPSendStream::setBytesInFlight |
( |
const uint32 |
bytes | ) |
|
|
inline |
void inet::sctp::SCTPSendStream::setFragInProgress |
( |
const bool |
frag | ) |
|
|
inline |
bool fragInProgress
Definition: SCTPSendStream.h:46
void inet::sctp::SCTPSendStream::setNextStreamSeqNum |
( |
const uint16 |
num | ) |
|
void inet::sctp::SCTPSendStream::setStreamId |
( |
const uint16 |
id | ) |
|
|
inline |
uint32 inet::sctp::SCTPSendStream::bytesInFlight |
|
protected |
bool inet::sctp::SCTPSendStream::fragInProgress |
|
protected |
uint16 inet::sctp::SCTPSendStream::nextStreamSeqNum |
|
protected |
bool inet::sctp::SCTPSendStream::resetRequested |
|
protected |
uint16 inet::sctp::SCTPSendStream::streamId |
|
protected |
cPacketQueue* inet::sctp::SCTPSendStream::streamQ |
|
protected |
cPacketQueue* inet::sctp::SCTPSendStream::uStreamQ |
|
protected |
The documentation for this class was generated from the following files: