xrootd
Classes | Typedefs | Functions

XrdMonDebugPacketApp.cc File Reference

#include "XrdMon/XrdMonDecArgParser.hh"
#include "XrdMon/XrdMonDecDictInfo.hh"
#include "XrdMon/XrdMonDecUserInfo.hh"
#include "XrdMon/XrdMonHeader.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysPlatform.hh"
#include "XrdXrootd/XrdXrootdMonData.hh"
#include <fstream>
#include <iomanip>
#include <netinet/in.h>
#include <unistd.h>
Include dependency graph for XrdMonDebugPacketApp.cc:

Classes

struct  CalcTime

Typedefs

typedef pair< kXR_int32,
kXR_int32
TimePair

Functions

TimePair decodeTime (const char *packet)
CalcTime prepareTimestamp (const char *packet, int &offset, int len, kXR_int32 &begTime)
void debugRWRequest (const char *packet, kXR_int32 timestamp, kXR_int64 offset)
void debugOpen (const char *packet, kXR_int32 timestamp, kXR_int64 offset)
void debugClose (const char *packet, kXR_int32 timestamp, kXR_int64 offset)
void debugDictPacket (const char *packet, int len)
void debugUserPacket (const char *packet, int len)
void debugDisconnect (const char *packet, int len)
void debugStagePacket (const char *packet, int)
void debugTracePacket (const char *packet, int len)
int main (int argc, char *argv[])

Typedef Documentation

typedef pair<kXR_int32, kXR_int32> TimePair

Function Documentation

void debugClose ( const char *  packet,
kXR_int32  timestamp,
kXR_int64  offset 
)
void debugDictPacket ( const char *  packet,
int  len 
)

References HDRLEN.

Referenced by main().

void debugDisconnect ( const char *  packet,
int  len 
)
void debugOpen ( const char *  packet,
kXR_int32  timestamp,
kXR_int64  offset 
)

Referenced by debugTracePacket().

void debugRWRequest ( const char *  packet,
kXR_int32  timestamp,
kXR_int64  offset 
)

References ntohll.

Referenced by debugTracePacket().

void debugStagePacket ( const char *  packet,
int   
)

Referenced by main().

void debugTracePacket ( const char *  packet,
int  len 
)
void debugUserPacket ( const char *  packet,
int  len 
)

References HDRLEN.

Referenced by main().

TimePair decodeTime ( const char *  packet)
int main ( int  argc,
char *  argv[] 
)
CalcTime prepareTimestamp ( const char *  packet,
int &  offset,
int  len,
kXR_int32 begTime 
)

References decodeTime(), TRACELEN, and XROOTD_MON_WINDOW.

Referenced by debugTracePacket().