![]() |
CRealTimeTraceRouteSocket | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Class |
Declared in: RealTimeTraceRouteSocket.h |
Copyright (c) 2000-2003 Barak Weichselbaum <barak@komodia.com> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS `AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Contact info:
Site: http://www.komodia.com Main contact: barak@komodia.com For custom projects, consulting, or other paid services: sales@komodia.com
![]() |
TraceRouteData | m_aData[mhMaxHops+1] | Our max hops array |
![]() |
IP | m_aTracedAddress | Address we are tracing |
![]() |
BOOL | m_bFinishing | We are finishing |
![]() |
BOOL | m_bInitialized | Are we initialized |
![]() |
BOOL | m_bPartialDone | Are we partial done ? |
![]() |
BOOL | m_bResolveIPs | Resolve status |
![]() |
BOOL | m_bTraceDone | Is our trace done ? |
![]() |
CGenericCriticalSection * | m_pCSection | Our CS |
![]() |
CGenericCriticalSection * | m_pCSectionGeneral | Our trace CS |
![]() |
CGenericCriticalSection * | m_pCSectionResolve | Our resolve CS |
![]() |
CRealTimeDNSManager * | m_pManager | Our DNS manager |
![]() |
static unsigned short | m_sPortStart | Our port start |
![]() |
unsigned char | m_ucMaxHOP | What is the maximum hop |
![]() |
unsigned char | m_ucMinHOP | What is our minimum target hop |
![]() |
unsigned long | m_ulResolvers | Our resolvers |
![]() |
unsigned short | m_usPortStart | Current port start |
![]() |
CRealTimeDNSManager::CRealTimeDNSManager( CRealTimeTraceRouteSocket* pFather, const std::string strDNSServer, BOOL bTCP ) |
||
![]() |
CRealTimeTraceRouteSocket( std::string sDNSServer, BOOL bDNSTcp, BOOL bMultithreaded=TRUE ) |
ctor and dtor |
![]() |
void | AdjustResolvers( long lAmount ) |
Adjust the number of resovers |
![]() |
void | CRealTimeDNSManager::OnDNSError( int iErrorCode, LPVOID lpLocalIDData ) |
|
![]() |
void | CRealTimeDNSManager::OnDNSReceive( KomodiaDNS::CDNSAnswers* pAnswers, LPVOID lpLocalIDData ) |
|
![]() |
void | CRealTimeDNSManager::OnDNSTimeout( const KomodiaDNS::CDNSQuery& rQuery, LPVOID lpLocalIDData ) |
|
![]() |
void | DNSDone() |
Dns asks if we are done |
![]() |
void | Fake the last request | |
![]() |
const TraceRouteData * | GetData() const |
Get the data |
![]() |
CRealTimeTraceRouteSocket::CRealTimeDNSManager * | GetDNSManager() const |
Get the DNS manager |
![]() |
unsigned char | GetMaxHops() const |
Get max hops |
![]() |
static unsigned short | Allocate start of ID range | |
![]() |
unsigned long | GetResolvers() const |
Get the number of resovers |
![]() |
void | Call the done routines | |
![]() |
virtual BOOL | IsIDOK( unsigned short usID, unsigned short usSequence ) const |
Is the ID OK |
![]() |
BOOL | IsInitialized() const |
Are we initialized |
![]() |
virtual BOOL | IsTraceDone() const |
Is the traced done |
![]() |
virtual BOOL | Timeout indicator | |
![]() |
virtual void | PingDoneData( IP aReplyingAddress, unsigned char ucTTL, DWORD dwTimeElapsed, int iDataSize, unsigned short usID, BOOL bTTLExpired ) |
Our ping data |
![]() |
static void | ResolveData( LPVOID lpData ) |
Our thread for DNS queries |
![]() |
void | SetResolveStatus( BOOL bResolve ) |
Enable disable resolve |
![]() |
virtual void | TraceData( const TraceRouteData* pData, BOOL bResolved ) |
Resolved DNS data |
![]() |
virtual void | TraceDataForModify( TraceRouteData* pData, BOOL bResolved ) |
Data for modification |
![]() |
virtual void | TraceDone( BOOL bError ) |
For user to overide trace is done |
![]() |
virtual BOOL | TraceRoute( const std::string& rDestinationAddress, DWORD dwTimeout ) |
Do a trace |
![]() |
virtual BOOL | TraceRoute( IP aDestinationAddress, DWORD dwTimeout ) |
CRealTimeDNSManager |
PingSocket.h | |
DNSManager.h | |
map |
stdafx.h | for precompiled header directive |
RealTimeTraceRouteSocket.h | |
ErrorHandlerMacros.h | |
ThreadPool.h | |
GenericCriticalSection.h | |
OSManager.h | |
atlbase.h |
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |