| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|