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  

PacketHeaderClass Class Reference

#include <packet.h>

Inheritance diagram for PacketHeaderClass:

TclClass AODVHeaderClass ARPHeaderClass ASRMHeaderClass CCTCPHeaderClass CommonHeaderClass CtrMcastHeaderClass DiffHeaderClass encapHeaderClass FlagsHeaderClass GAFHeaderClass HttpInvalHeaderClass IMEPHeaderClass IPHeaderClass IPinIPHeaderClass IvsHeaderClass LDPHeaderClass LLHeaderClass LmsHeaderClass MacHeaderClass mcastControlHeaderClass MessageHeaderClass MFTPHeaderClass MIPHeaderClass PingHeaderClass PingHeaderClass PushbackHeaderClass QSHeaderClass RapHeaderClass ResvHeaderClass rtDVHeaderClass rtLSHeaderClass RTPHeaderClass SCTPHeaderClass shimhdreaderClass SnoopHeaderClass SRCRTHeaderClass SRHeaderClass SRMEXTHeaderClass SRMHeaderClass TCPAHeaderClass TCPHeaderClass TFCCHeaderClass TFRC_ACKHeaderClass TFRCHeaderClass TORAHeaderClass UmpHeaderClass List of all members.

Public Member Functions

virtual void bind ()
virtual void export_offsets ()
TclObjectcreate (int argc, const char *const *argv)

Protected Member Functions

 PacketHeaderClass (const char *classname, int hdrsize)
virtual int method (int argc, const char *const *argv)
void field_offset (const char *fieldname, int offset)
void bind_offset (int *off)
void offset (int *off)

Protected Attributes

int hdrlen_
int * offset_

Constructor & Destructor Documentation

PacketHeaderClass::PacketHeaderClass const char *    classname,
int    hdrsize

Member Function Documentation

void PacketHeaderClass::bind   [virtual]

Reimplemented from TclClass.

void PacketHeaderClass::bind_offset int *    off [inline, protected]

TclObject * PacketHeaderClass::create int    argc,
const char *const *    argv

Implements TclClass.

void PacketHeaderClass::export_offsets   [virtual]

Reimplemented in ResvHeaderClass, IPHeaderClass, CommonHeaderClass, MacHeaderClass, and TFCCHeaderClass.

void PacketHeaderClass::field_offset const char *    fieldname,
int    offset

int PacketHeaderClass::method int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from TclClass.

void PacketHeaderClass::offset int *    off [inline, protected]

Member Data Documentation

int PacketHeaderClass::hdrlen_ [protected]

int* PacketHeaderClass::offset_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.