ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <path.h>
Public Member Functions | |
Path () | |
Path (int route_len, const ID *route=NULL) | |
Path (const Path &old) | |
Path (const struct sr_addr *addrs, int len) | |
Path (struct hdr_sr *srh) | |
~Path () | |
void | fillSR (struct hdr_sr *srh) |
ID & | next () |
void | resetIterator () |
void | reset () |
void | setIterator (int i) |
void | setLength (int l) |
ID & | operator[] (int n) const |
void | operator= (const Path &rhs) |
bool | operator== (const Path &rhs) |
void | appendToPath (const ID &id) |
void | appendPath (Path &p) |
bool | member (const ID &id) const |
bool | member (const ID &net_id, const ID &MAC_id) const |
Path | copy () const |
void | copyInto (Path &to) const |
Path | reverse () const |
void | reverseInPlace () |
void | removeSection (int from, int to) |
bool | full () const |
int | length () const |
int | index () const |
int & | index () |
int | size () const |
void | unparse (FILE *out) const |
char * | dump () const |
ID & | owner () |
void | checkpath (void) const |
Private Attributes | |
int | len |
int | cur_index |
ID * | path |
ID | path_owner |
Friends | |
void | compressPath (Path &path) |
void | CopyIntoPath (Path &to, const Path &from, int start, int stop) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|