ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ns-2/indep-utils/webtrace-conv/dec/proxytrace.h File Reference

#include <stdio.h>
#include <sys/types.h>

Compounds

struct  ReqLog
struct  TEntry
struct  TEntryHeader
struct  TEntryTail
struct  URL

Defines

#define NO_PATH_FLAG   1
#define PORT_SPECIFIED_FLAG   2
#define NULL_PATH_ADDED_FLAG   4
#define QUERY_FOUND_FLAG   8
#define EXTENSION_SPECIFIED_FLAG   16
#define CGI_BIN_FLAG   32
#define TRACE_HEADER_SIZE   8192

Typedefs

typedef unsigned int u_4bytes
typedef unsigned short int u_2bytes
typedef int method_t
typedef int protocol_t
typedef int pagetype_t

Functions

const char * MethodStr (int method)
const char * ProtocolStr (int protocol)
const char * ExtensionStr (int type)
const char * ExtensionTypeStr (int type)
size_t ReadHeader (FILE *in_file, void *userBuf)
size_t ReadEntry (FILE *in_file, TEntry *entry)
size_t ReadEntryV1 (FILE *in_file, TEntry *entry)

Variables

const int METHOD_NONE = 0
const int METHOD_GET = 1
const int METHOD_POST = 2
const int METHOD_HEAD = 3
const int METHOD_CONNECT = 4
const int PROTO_NONE = 0
const int PROTO_HTTP = 1
const int PROTO_FTP = 2
const int PROTO_GOPHER = 3
const int PROTO_WAIS = 4
const int PROTO_CACHEOBJ = 5
const int PROTO_MAX = 6
const int EXT_NONE = 0
const int EXT_HTML = 1
const int EXT_GIF = 2
const int EXT_CGI = 3
const int EXT_DATA = 4
const int EXT_CLASS = 5
const int EXT_MAP = 6
const int EXT_JPEG = 7
const int EXT_MPEG = 8
const int EXT_OTHER = 9

Define Documentation

#define CGI_BIN_FLAG   32
 

#define EXTENSION_SPECIFIED_FLAG   16
 

#define NO_PATH_FLAG   1
 

#define NULL_PATH_ADDED_FLAG   4
 

#define PORT_SPECIFIED_FLAG   2
 

#define QUERY_FOUND_FLAG   8
 

#define TRACE_HEADER_SIZE   8192
 


Typedef Documentation

typedef int method_t
 

typedef int pagetype_t
 

typedef int protocol_t
 

typedef unsigned short int u_2bytes
 

typedef unsigned int u_4bytes
 


Function Documentation

const char* ExtensionStr int    type
 

const char* ExtensionTypeStr int    type
 

const char* MethodStr int    method
 

const char* ProtocolStr int    protocol
 

size_t ReadEntry FILE *    in_file,
TEntry   entry
 

size_t ReadEntryV1 FILE *    in_file,
TEntry   entry
 

size_t ReadHeader FILE *    in_file,
void *    userBuf
 


Variable Documentation

const int EXT_CGI = 3
 

const int EXT_CLASS = 5
 

const int EXT_DATA = 4
 

const int EXT_GIF = 2
 

const int EXT_HTML = 1
 

const int EXT_JPEG = 7
 

const int EXT_MAP = 6
 

const int EXT_MPEG = 8
 

const int EXT_NONE = 0
 

const int EXT_OTHER = 9
 

const int METHOD_CONNECT = 4
 

const int METHOD_GET = 1
 

const int METHOD_HEAD = 3
 

const int METHOD_NONE = 0
 

const int METHOD_POST = 2
 

const int PROTO_CACHEOBJ = 5
 

const int PROTO_FTP = 2
 

const int PROTO_GOPHER = 3
 

const int PROTO_HTTP = 1
 

const int PROTO_MAX = 6
 

const int PROTO_NONE = 0
 

const int PROTO_WAIS = 4
 


This document is generated by doxygen.