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  

Address Class Reference

#include <address.h>

Inheritance diagram for Address:

TclObject List of all members.

Public Member Functions

 Address ()
 ~Address ()
char * print_nodeaddr (int address)
char * print_portaddr (int address)
char * get_subnetaddr (int address)
int get_lastaddr (int address)
int get_nodeaddr (int address)
int str2addr (const char *str) const
int create_ipaddr (int nodeid, int portid)
int hier_addr (int address, int level)
int nodeshift ()
int nodemask ()
int set_word_field (int word, int field, int shift, int mask) const

Static Public Member Functions

Address & instance ()

Public Attributes

int * bpl_
int * NodeShift_
int * NodeMask_
int McastShift_
int McastMask_
int levels_

Protected Member Functions

int command (int argc, const char *const *argv)

Static Protected Attributes

Address * instance_

Constructor & Destructor Documentation



Member Function Documentation

int Address::command int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from TclObject.

int Address::create_ipaddr int    nodeid,
int    portid

int Address::get_lastaddr int    address

int Address::get_nodeaddr int    address

char * Address::get_subnetaddr int    address

int Address::hier_addr int    address,
int    level

Address& Address::instance   [inline, static]

int Address::nodemask   [inline]

int Address::nodeshift   [inline]

char * Address::print_nodeaddr int    address

char * Address::print_portaddr int    address

int Address::set_word_field int    word,
int    field,
int    shift,
int    mask
const [inline]

int Address::str2addr const char *    str const

Member Data Documentation

int* Address::bpl_

Address * Address::instance_ [static, protected]

int Address::levels_

int Address::McastMask_

int Address::McastShift_

int* Address::NodeMask_

int* Address::NodeShift_

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