class Path


Public Methods

void appendPath(Path& p)
inline void appendToPath(const ID& id)
void checkpath(void)
Path copy()
void copyInto(Path& to)
char* dump()
void fillSR(struct hdr_sr *srh)
inline bool full()
inline int index()
inline int length()
bool member(const ID& net_id, const ID& MAC_id)
bool member(const ID& id)
inline ID& next()
void operator=(const Path& rhs)
bool operator==(const Path& rhs)
inline ID& operator[] (int n)
inline ID& owner()
Path(int route_len, const ID *route = NULL)
Path(const struct hdr_sr *srh)
Path()
Path(const Path& old)
Path(const struct sr_addr *addrs, int len)
void removeSection(int from, int to)
inline void reset()
inline void resetIterator()
Path reverse()
void reverseInPlace()
inline void setIterator(int i)
inline void setLength(int l)
int size()
of bytes needed to hold path in packet
void unparse(FILE *out)
~Path()

Private Fields

int cur_index
int len
ID* path
ID path_owner

Private Methods

friend void compressPath(Path& path)
friend void CopyIntoPath(Path& to, const Path& from, int start, int stop)

Documentation

friend void compressPath(Path& path)

friend void CopyIntoPath(Path& to, const Path& from, int start, int stop)

Path()

Path(int route_len, const ID *route = NULL)

Path(const Path& old)

Path(const struct sr_addr *addrs, int len)

Path(const struct hdr_sr *srh)

~Path()

void fillSR(struct hdr_sr *srh)

inline ID& next()

inline void resetIterator()

inline void reset()

inline void setIterator(int i)

inline void setLength(int l)

inline ID& operator[] (int n)

void operator=(const Path& rhs)

bool operator==(const Path& rhs)

inline void appendToPath(const ID& id)

void appendPath(Path& p)

bool member(const ID& id)

bool member(const ID& net_id, const ID& MAC_id)

Path copy()

void copyInto(Path& to)

Path reverse()

void reverseInPlace()

void removeSection(int from, int to)

inline bool full()

inline int length()

inline int index()

int size()
of bytes needed to hold path in packet

void unparse(FILE *out)

char* dump()

inline ID& owner()

void checkpath(void)

int len

int cur_index

ID* path

ID path_owner


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de