Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDatagrams Class Reference

#include <Datagrams.h>

List of all members.

Public Member Functions

 CDatagrams ()
virtual ~CDatagrams ()
BOOL Listen ()
void Disconnect ()
BOOL IsStable ()
BOOL Send (IN_ADDR *pAddress, WORD nPort, CPacket *pPacket, BOOL bRelease=TRUE, LPVOID pToken=NULL, BOOL bAck=TRUE)
BOOL Send (SOCKADDR_IN *pHost, CPacket *pPacket, BOOL bRelease=TRUE, LPVOID pToken=NULL, BOOL bAck=TRUE)
void PurgeToken (LPVOID pToken)
void OnRun ()

Public Attributes

UDPBandwidthMeter m_mInput
DWORD m_nInBandwidth
DWORD m_nInFrags
DWORD m_nInPackets
UDPBandwidthMeter m_mOutput
DWORD m_nOutBandwidth
DWORD m_nOutFrags
DWORD m_nOutPackets

Protected Member Functions

void Measure ()
BOOL TryWrite ()
void ManageOutput ()
void Remove (CDatagramOut *pDG)
BOOL TryRead ()
BOOL OnDatagram (SOCKADDR_IN *pHost, BYTE *pBuffer, DWORD nLength)
BOOL OnReceiveSGP (SOCKADDR_IN *pHost, SGP_HEADER *pHeader, DWORD nLength)
BOOL OnAcknowledgeSGP (SOCKADDR_IN *pHost, SGP_HEADER *pHeader, DWORD nLength)
void ManagePartials ()
void Rerequest (CDatagramIn *pDG)
void Remove (CDatagramIn *pDG, BOOL bReclaimOnly=FALSE)
BOOL OnPacket (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnPing (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnPong (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnQuery (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnQueryAck (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnHit (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnQueryKeyRequest (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnQueryKeyAnswer (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnPush (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnCrawlRequest (SOCKADDR_IN *pHost, CG2Packet *pPacket)
BOOL OnCrawlAnswer (SOCKADDR_IN *pHost, CG2Packet *pPacket)

Protected Attributes

SOCKET m_hSocket
WORD m_nSequence
BOOL m_bStable
DWORD m_tLastWrite
CBufferm_pBufferBuffer
DWORD m_nBufferBuffer
CBufferm_pBufferFree
DWORD m_nBufferFree
CDatagramInm_pInputBuffer
DWORD m_nInputBuffer
CDatagramInm_pInputFree
CDatagramInm_pInputFirst
CDatagramInm_pInputLast
CDatagramInm_pInputHash [32]
CDatagramOutm_pOutputBuffer
DWORD m_nOutputBuffer
CDatagramOutm_pOutputFree
CDatagramOutm_pOutputFirst
CDatagramOutm_pOutputLast
CDatagramOutm_pOutputHash [32]


Constructor & Destructor Documentation

CDatagrams::CDatagrams  ) 
 

Definition at line 73 of file Datagrams.cpp.

References m_bStable, m_hSocket, m_mInput, m_mOutput, m_nInBandwidth, m_nInFrags, m_nInPackets, m_nOutBandwidth, m_nOutFrags, m_nOutPackets, and m_nSequence.

CDatagrams::~CDatagrams  )  [virtual]
 

Definition at line 86 of file Datagrams.cpp.

References Disconnect().


Member Function Documentation

void CDatagrams::Disconnect  ) 
 

Definition at line 177 of file Datagrams.cpp.

References m_hSocket, m_nBufferBuffer, m_nInBandwidth, m_nInFrags, m_nInPackets, m_nInputBuffer, m_nOutBandwidth, m_nOutFrags, m_nOutPackets, m_nOutputBuffer, m_pBufferBuffer, m_pInputBuffer, m_pInputFirst, m_pInputFree, m_pInputLast, m_pOutputBuffer, m_pOutputFirst, m_pOutputFree, m_pOutputLast, and NULL.

Referenced by CNetwork::Disconnect(), and ~CDatagrams().

BOOL CDatagrams::IsStable  ) 
 

Definition at line 205 of file Datagrams.cpp.

References CSettings::Connection, CONNECTION_FIREWALLED, CONNECTION_OPEN, CSettings::sConnection::FirewallStatus, CNetwork::IsListening(), m_bStable, m_hSocket, Network, and Settings.

Referenced by CLocalSearch::CreatePacketG2(), CManagedSearch::ExecuteG2Mesh(), CManagedSearch::ExecuteNeighbours(), CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), CG2Neighbour::OnRun(), CNeighboursWithRouting::RouteQuery(), CEDClients::RunGlobalStatsRequests(), and CHomeViewCtrl::Update().

BOOL CDatagrams::Listen  ) 
 

Definition at line 94 of file Datagrams.cpp.

References CSettings::Connection, CSettings::Gnutella2, HASH_SIZE, IDS_NETWORK_LISTENING_UDP, CSettings::sConnection::InBind, CSettings::sConnection::InHost, CSettings::sConnection::InPort, m_hSocket, m_nBufferBuffer, m_nBufferFree, m_nInFrags, m_nInPackets, m_nInputBuffer, m_nOutFrags, m_nOutPackets, m_nOutputBuffer, m_pBufferBuffer, m_pBufferFree, CNetwork::m_pHost, m_pInputBuffer, m_pInputFirst, m_pInputFree, m_pInputHash, m_pInputLast, CBuffer::m_pNext, CDatagramOut::m_pNextHash, CDatagramIn::m_pNextHash, m_pOutputBuffer, m_pOutputFirst, m_pOutputFree, m_pOutputHash, m_pOutputLast, CNetwork::m_pWakeup, m_tLastWrite, CShareazaApp::Message(), MSG_DEFAULT, Network, NULL, CSettings::sConnection::OutHost, CNetwork::Resolve(), Settings, theApp, CSettings::sGnutella2::UdpBuffers, CSettings::sGnutella2::UdpInFrames, and CSettings::sGnutella2::UdpOutFrames.

Referenced by CNetwork::Connect().

void CDatagrams::ManageOutput  )  [protected]
 

Definition at line 508 of file Datagrams.cpp.

References CSettings::Gnutella2, m_pOutputLast, Remove(), Settings, and CSettings::sGnutella2::UdpOutExpire.

Referenced by OnRun().

void CDatagrams::ManagePartials  )  [protected]
 

Definition at line 813 of file Datagrams.cpp.

References CSettings::Gnutella2, m_pInputLast, Remove(), Settings, and CSettings::sGnutella2::UdpInExpire.

Referenced by OnRun().

void CDatagrams::Measure  )  [protected]
 

Definition at line 385 of file Datagrams.cpp.

References m_mInput, m_mOutput, m_nInBandwidth, m_nOutBandwidth, METER_LENGTH, METER_PERIOD, UDPBandwidthMeter::nMeasure, UDPBandwidthMeter::pHistory, and UDPBandwidthMeter::pTimes.

Referenced by OnRun().

BOOL CDatagrams::OnAcknowledgeSGP SOCKADDR_IN *  pHost,
SGP_HEADER pHeader,
DWORD  nLength
[protected]
 

Definition at line 780 of file Datagrams.cpp.

References HASH_MASK, CDatagramOut::m_pNextHash, m_pOutputHash, CShareazaApp::Message(), MSG_DEBUG, SGP_HEADER::nPart, SGP_HEADER::nSequence, Remove(), and theApp.

Referenced by OnDatagram().

BOOL CDatagrams::OnCrawlAnswer SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1440 of file Datagrams.cpp.

References CrawlSession, and CCrawlSession::OnCrawl().

Referenced by OnPacket().

BOOL CDatagrams::OnCrawlRequest SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1270 of file Datagrams.cpp.

References CLIENT_NAME, G2_PACKET_CRAWL_ANS, CNeighboursBase::GetCount(), CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CGProfile::GetNick(), CGProfile::GetPackedGPS(), CG2Packet::GetStringLen(), CNeighboursWithConnect::IsG2Hub(), CNeighboursWithConnect::IsG2HubCapable(), CNeighboursWithConnect::IsG2Leaf(), CG2Packet::m_bCompound, CNeighbour::m_nNodeType, CPacket::m_nPosition, CNeighbour::m_nProtocol, CNeighbour::m_nState, CConnection::m_pHost, CNetwork::m_pHost, CShareazaApp::m_sVersion, MyProfile, Neighbours, Network, CG2Packet::New(), nrsConnected, ntLeaf, PROTOCOL_G2, CG2Packet::ReadPacket(), Send(), theApp, VENDOR_CODE, CPacket::WriteLongBE(), CPacket::WriteLongLE(), CG2Packet::WritePacket(), CPacket::WriteShortBE(), and CG2Packet::WriteString().

Referenced by OnPacket().

BOOL CDatagrams::OnDatagram SOCKADDR_IN *  pHost,
BYTE *  pBuffer,
DWORD  nLength
[protected]
 

Definition at line 604 of file Datagrams.cpp.

References ED2K_PROTOCOL_EDONKEY, ED2K_PROTOCOL_EMULE, ED2K_PROTOCOL_PACKED, EDClients, CEDPacket::InflateOrRelease(), CEDPacket::New(), NULL, OnAcknowledgeSGP(), OnReceiveSGP(), CEDClients::OnUDP(), CPacket::Release(), SGP_TAG_2, and CPacket::SmartDump().

Referenced by TryRead().

BOOL CDatagrams::OnHit SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1077 of file Datagrams.cpp.

References CRouteCache::Add(), CStatistics::Current, CG2Packet::Debug(), CQueryHit::Delete(), CQueryHit::FromPacket(), CSettings::Gnutella1, IDS_PROTOCOL_BAD_HIT, CSecurity::IsDenied(), CQueryHit::m_pAddress, CQueryHit::m_pClientID, CSettings::sGnutella1::MaximumTTL, CShareazaApp::Message(), MSG_ERROR, Network, CNetwork::NodeRoute, NULL, CNetwork::OnQueryHits(), CSearchManager::OnQueryHits(), CNetwork::RouteHits(), SearchManager, Security, Settings, Statistics, and theApp.

Referenced by OnPacket().

BOOL CDatagrams::OnPacket SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 869 of file Datagrams.cpp.

References G2_PACKET_CRAWL_ANS, G2_PACKET_CRAWL_REQ, G2_PACKET_HIT, G2_PACKET_HIT_WRAP, G2_PACKET_PING, G2_PACKET_PONG, G2_PACKET_PUSH, G2_PACKET_QUERY, G2_PACKET_QUERY_ACK, G2_PACKET_QUERY_KEY_ANS, G2_PACKET_QUERY_KEY_REQ, m_nInPackets, Network, NULL, OnCrawlAnswer(), OnCrawlRequest(), OnHit(), OnPing(), OnPong(), OnPush(), OnQuery(), OnQueryAck(), OnQueryKeyAnswer(), OnQueryKeyRequest(), CNetwork::RoutePacket(), and CPacket::SmartDump().

Referenced by OnReceiveSGP().

BOOL CDatagrams::OnPing SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 928 of file Datagrams.cpp.

References G2_PACKET_PONG, CG2Packet::New(), and Send().

Referenced by OnPacket().

BOOL CDatagrams::OnPong SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 937 of file Datagrams.cpp.

References CNetwork::IsConnectedTo(), CG2Packet::m_bCompound, m_bStable, CPacket::m_nPosition, Network, and CG2Packet::ReadPacket().

Referenced by OnPacket().

BOOL CDatagrams::OnPush SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1241 of file Datagrams.cpp.

References CStatistics::Current, CG2Packet::Debug(), CPacket::GetRemaining(), Handshakes, CSecurity::IsDenied(), CNetwork::IsFirewalledAddress(), Network, CHandshakes::PushTo(), CPacket::ReadLongLE(), CPacket::ReadShortBE(), Security, CG2Packet::SkipCompound(), and Statistics.

Referenced by OnPacket().

BOOL CDatagrams::OnQuery SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 967 of file Datagrams.cpp.

References CRouteCache::Add(), CQueryKeys::Check(), CQueryKeys::Create(), CNeighboursWithG2::CreateQueryWeb(), CStatistics::Current, CLocalSearch::Execute(), CQuerySearch::FromPacket(), G2_PACKET_QUERY_ACK, G2_PACKET_QUERY_KEY_ANS, IDS_PROTOCOL_BAD_QUERY, CSecurity::IsDenied(), CQuerySearch::m_bUDP, CQuerySearch::m_nKey, CQuerySearch::m_pEndpoint, CQuerySearch::m_pGUID, CNetwork::m_pHost, CShareazaApp::Message(), MSG_DEBUG, MSG_ERROR, Neighbours, Network, CG2Packet::New(), NULL, CNetwork::OnQuerySearch(), CNetwork::QueryKeys, CNetwork::QueryRoute, CNeighboursWithRouting::RouteQuery(), Security, Send(), Statistics, theApp, CPacket::Write(), CPacket::WriteByte(), CPacket::WriteLongBE(), CPacket::WriteLongLE(), CG2Packet::WritePacket(), and CPacket::WriteShortBE().

Referenced by OnPacket().

BOOL CDatagrams::OnQueryAck SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1044 of file Datagrams.cpp.

References CHostCacheList::Add(), CHostCache::Gnutella2, HostCache, CRouteCache::Lookup(), CHostCacheHost::m_nFailures, CNeighbour::m_nNodeType, CHostCacheHost::m_tAck, Network, ntLeaf, NULL, CSearchManager::OnQueryAck(), CNetwork::QueryRoute, SearchManager, and CNeighbour::Send().

Referenced by OnPacket().

BOOL CDatagrams::OnQueryKeyAnswer SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1171 of file Datagrams.cpp.

References CHostCacheList::Add(), CNeighboursBase::Get(), CHostCache::Gnutella2, HostCache, CPacket::m_bBigEndian, CG2Packet::m_bCompound, CPacket::m_nPosition, CNetwork::m_pHost, CShareazaApp::Message(), MSG_DEBUG, Neighbours, Network, NULL, CPacket::ReadLongBE(), CPacket::ReadLongLE(), CG2Packet::ReadPacket(), CHostCacheHost::SetKey(), theApp, and CPacket::WriteGetPointer().

Referenced by OnPacket().

BOOL CDatagrams::OnQueryKeyRequest SOCKADDR_IN *  pHost,
CG2Packet pPacket
[protected]
 

Definition at line 1113 of file Datagrams.cpp.

References CQueryKeys::Create(), G2_PACKET_QUERY_KEY_ANS, CNetwork::IsFirewalledAddress(), CNeighboursWithConnect::IsG2Hub(), CG2Packet::m_bCompound, CPacket::m_nPosition, CShareazaApp::Message(), MSG_DEBUG, Neighbours, Network, CG2Packet::New(), CNetwork::QueryKeys, CPacket::ReadLongLE(), CG2Packet::ReadPacket(), CPacket::ReadShortBE(), Send(), theApp, CPacket::WriteLongBE(), CPacket::WriteLongLE(), and CG2Packet::WritePacket().

Referenced by OnPacket().

BOOL CDatagrams::OnReceiveSGP SOCKADDR_IN *  pHost,
SGP_HEADER pHeader,
DWORD  nLength
[protected]
 

Definition at line 652 of file Datagrams.cpp.

References CDatagramIn::Add(), CDatagramIn::Create(), HASH_MASK, m_hSocket, m_nBufferFree, CDatagramIn::m_nCount, m_nInFrags, CDatagramIn::m_nSequence, CDatagramIn::m_pBuffer, m_pBufferFree, CDatagramIn::m_pHost, m_pInputFirst, m_pInputFree, m_pInputHash, m_pInputLast, CBuffer::m_pNext, CDatagramIn::m_pNextHash, CDatagramIn::m_pNextTime, CDatagramIn::m_pPrevHash, CDatagramIn::m_pPrevTime, CShareazaApp::Message(), MSG_DEBUG, SGP_HEADER::nCount, SGP_HEADER::nFlags, SGP_HEADER::nPart, SGP_HEADER::nSequence, NULL, OnPacket(), Remove(), SGP_ACKNOWLEDGE, SGP_TAG_2, SGP_HEADER::szTag, theApp, and CDatagramIn::ToG2Packet().

Referenced by OnDatagram().

void CDatagrams::OnRun  ) 
 

Definition at line 366 of file Datagrams.cpp.

References m_hSocket, ManageOutput(), ManagePartials(), Measure(), TryRead(), and TryWrite().

Referenced by CNetwork::OnRun().

void CDatagrams::PurgeToken LPVOID  pToken  ) 
 

Definition at line 340 of file Datagrams.cpp.

References m_pOutputLast, CNetwork::m_pSection, CShareazaApp::Message(), MSG_DEBUG, Network, Remove(), and theApp.

Referenced by CManagedSearch::Stop().

void CDatagrams::Remove CDatagramIn pDG,
BOOL  bReclaimOnly = FALSE
[protected]
 

Definition at line 833 of file Datagrams.cpp.

References CBuffer::Clear(), m_nBufferFree, CDatagramIn::m_pBuffer, m_pBufferFree, m_pInputFirst, m_pInputFree, m_pInputLast, CBuffer::m_pNext, CDatagramIn::m_pNextHash, CDatagramIn::m_pNextTime, CDatagramIn::m_pPrevHash, CDatagramIn::m_pPrevTime, and NULL.

void CDatagrams::Remove CDatagramOut pDG  )  [protected]
 

Definition at line 528 of file Datagrams.cpp.

References CBuffer::Clear(), m_nBufferFree, CDatagramOut::m_pBuffer, m_pBufferFree, CBuffer::m_pNext, CDatagramOut::m_pNextHash, CDatagramOut::m_pNextTime, m_pOutputFirst, m_pOutputFree, m_pOutputLast, CDatagramOut::m_pPrevHash, CDatagramOut::m_pPrevTime, and NULL.

Referenced by ManageOutput(), ManagePartials(), OnAcknowledgeSGP(), OnReceiveSGP(), PurgeToken(), and Send().

void CDatagrams::Rerequest CDatagramIn pDG  )  [protected]
 

BOOL CDatagrams::Send SOCKADDR_IN *  pHost,
CPacket pPacket,
BOOL  bRelease = TRUE,
LPVOID  pToken = NULL,
BOOL  bAck = TRUE
 

Definition at line 232 of file Datagrams.cpp.

References CDatagramOut::Create(), CG2Packet::Debug(), HASH_MASK, CSecurity::IsDenied(), m_hSocket, m_nBufferFree, CDatagramOut::m_nCount, m_nInFrags, m_nOutPackets, CPacket::m_nProtocol, CDatagramOut::m_nSequence, m_nSequence, m_pBufferFree, CDatagramOut::m_pHost, CBuffer::m_pNext, CDatagramOut::m_pNextHash, CDatagramOut::m_pNextTime, m_pOutputFirst, m_pOutputFree, m_pOutputHash, m_pOutputLast, CDatagramOut::m_pPrevHash, CDatagramOut::m_pPrevTime, CDatagramOut::m_pToken, CShareazaApp::Message(), MSG_DEBUG, NULL, PROTOCOL_ED2K, PROTOCOL_G2, CPacket::Release(), Remove(), Security, CPacket::SmartDump(), theApp, and TryWrite().

BOOL CDatagrams::Send IN_ADDR *  pAddress,
WORD  nPort,
CPacket pPacket,
BOOL  bRelease = TRUE,
LPVOID  pToken = NULL,
BOOL  bAck = TRUE
 

Definition at line 221 of file Datagrams.cpp.

Referenced by CLocalSearch::DispatchPacket(), CManagedSearch::ExecuteDonkeyMesh(), CManagedSearch::ExecuteG2Mesh(), CNeighboursWithED2K::FindDonkeySources(), OnCrawlRequest(), CG2Neighbour::OnPing(), OnPing(), OnQuery(), CG2Neighbour::OnQueryKeyReq(), OnQueryKeyRequest(), CUploadTransferED2K::OnReask(), CG2Neighbour::OnRun(), CEDClients::OnUDP(), CEDClients::RequestServerStatus(), CNetwork::RouteHits(), CNetwork::RoutePacket(), CDownloadTransferED2K::RunQueued(), CCrawlSession::SendCrawl(), CNetwork::SendPush(), and CG2Neighbour::SendStartups().

BOOL CDatagrams::TryRead  )  [protected]
 

Definition at line 561 of file Datagrams.cpp.

References CStatistics::Current, CSecurity::IsAccepted(), m_hSocket, m_mInput, METER_LENGTH, METER_MINIMUM, UDPBandwidthMeter::nPosition, UDPBandwidthMeter::nTotal, OnDatagram(), UDPBandwidthMeter::pHistory, UDPBandwidthMeter::pTimes, Security, Statistics, TEMP_BUFFER, and UDPBandwidthMeter::tLastSlot.

Referenced by OnRun().

BOOL CDatagrams::TryWrite  )  [protected]
 

Definition at line 410 of file Datagrams.cpp.

References CSettings::Bandwidth, CSettings::sLive::BandwidthScale, CSettings::Connection, CDatagramOut::GetPacket(), CSettings::Live, m_hSocket, m_mOutput, m_nInFrags, m_nOutFrags, CDatagramOut::m_nSequence, CDatagramOut::m_pHost, m_pOutputFirst, CDatagramOut::m_pPrevTime, m_tLastWrite, CShareazaApp::Message(), METER_LENGTH, METER_MINIMUM, METER_SECOND, MSG_DEBUG, SGP_HEADER::nCount, SGP_HEADER::nPart, UDPBandwidthMeter::nPosition, NULL, CSettings::sConnection::OutSpeed, UDPBandwidthMeter::pHistory, UDPBandwidthMeter::pTimes, Settings, theApp, UDPBandwidthMeter::tLastSlot, and CSettings::sBandwidth::UdpOut.

Referenced by OnRun(), and Send().


Member Data Documentation

BOOL CDatagrams::m_bStable [protected]
 

Definition at line 75 of file Datagrams.h.

Referenced by CDatagrams(), IsStable(), and OnPong().

SOCKET CDatagrams::m_hSocket [protected]
 

Definition at line 73 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), IsStable(), Listen(), OnReceiveSGP(), OnRun(), Send(), TryRead(), and TryWrite().

UDPBandwidthMeter CDatagrams::m_mInput
 

Definition at line 97 of file Datagrams.h.

Referenced by CDatagrams(), Measure(), and TryRead().

UDPBandwidthMeter CDatagrams::m_mOutput
 

Definition at line 101 of file Datagrams.h.

Referenced by CDatagrams(), Measure(), and TryWrite().

DWORD CDatagrams::m_nBufferBuffer [protected]
 

Definition at line 79 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

DWORD CDatagrams::m_nBufferFree [protected]
 

Definition at line 81 of file Datagrams.h.

Referenced by Listen(), OnReceiveSGP(), Remove(), and Send().

DWORD CDatagrams::m_nInBandwidth
 

Definition at line 98 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), CGraphItem::GetValue(), and Measure().

DWORD CDatagrams::m_nInFrags
 

Definition at line 99 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), Listen(), OnReceiveSGP(), Send(), and TryWrite().

DWORD CDatagrams::m_nInPackets
 

Definition at line 100 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), Listen(), and OnPacket().

DWORD CDatagrams::m_nInputBuffer [protected]
 

Definition at line 84 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

DWORD CDatagrams::m_nOutBandwidth
 

Definition at line 102 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), CGraphItem::GetValue(), and Measure().

DWORD CDatagrams::m_nOutFrags
 

Definition at line 103 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), Listen(), and TryWrite().

DWORD CDatagrams::m_nOutPackets
 

Definition at line 104 of file Datagrams.h.

Referenced by CDatagrams(), Disconnect(), Listen(), and Send().

DWORD CDatagrams::m_nOutputBuffer [protected]
 

Definition at line 91 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

WORD CDatagrams::m_nSequence [protected]
 

Definition at line 74 of file Datagrams.h.

Referenced by CDatagrams(), and Send().

CBuffer* CDatagrams::m_pBufferBuffer [protected]
 

Definition at line 78 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

CBuffer* CDatagrams::m_pBufferFree [protected]
 

Definition at line 80 of file Datagrams.h.

Referenced by Listen(), OnReceiveSGP(), Remove(), and Send().

CDatagramIn* CDatagrams::m_pInputBuffer [protected]
 

Definition at line 83 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

CDatagramIn* CDatagrams::m_pInputFirst [protected]
 

Definition at line 86 of file Datagrams.h.

Referenced by Disconnect(), Listen(), OnReceiveSGP(), and Remove().

CDatagramIn* CDatagrams::m_pInputFree [protected]
 

Definition at line 85 of file Datagrams.h.

Referenced by Disconnect(), Listen(), OnReceiveSGP(), and Remove().

CDatagramIn* CDatagrams::m_pInputHash[32] [protected]
 

Definition at line 88 of file Datagrams.h.

Referenced by Listen(), and OnReceiveSGP().

CDatagramIn* CDatagrams::m_pInputLast [protected]
 

Definition at line 87 of file Datagrams.h.

Referenced by Disconnect(), Listen(), ManagePartials(), OnReceiveSGP(), and Remove().

CDatagramOut* CDatagrams::m_pOutputBuffer [protected]
 

Definition at line 90 of file Datagrams.h.

Referenced by Disconnect(), and Listen().

CDatagramOut* CDatagrams::m_pOutputFirst [protected]
 

Definition at line 93 of file Datagrams.h.

Referenced by Disconnect(), Listen(), Remove(), Send(), and TryWrite().

CDatagramOut* CDatagrams::m_pOutputFree [protected]
 

Definition at line 92 of file Datagrams.h.

Referenced by Disconnect(), Listen(), Remove(), and Send().

CDatagramOut* CDatagrams::m_pOutputHash[32] [protected]
 

Definition at line 95 of file Datagrams.h.

Referenced by Listen(), OnAcknowledgeSGP(), and Send().

CDatagramOut* CDatagrams::m_pOutputLast [protected]
 

Definition at line 94 of file Datagrams.h.

Referenced by Disconnect(), Listen(), ManageOutput(), PurgeToken(), Remove(), and Send().

DWORD CDatagrams::m_tLastWrite [protected]
 

Definition at line 76 of file Datagrams.h.

Referenced by Listen(), and TryWrite().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:05 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2