#include <path.h>
Collaboration diagram for ID:

Public Member Functions | |
| ID () | |
| ID (unsigned long name, ID_Type t) | |
| ID (const struct sr_addr &a) | |
| void | fillSRAddr (struct sr_addr &a) |
| nsaddr_t | getNSAddr_t () const |
| bool | operator== (const ID &id2) const |
| bool | operator!= (const ID &id2) const |
| int | size () const |
| void | unparse (FILE *out) const |
| char * | dump () const |
Public Attributes | |
| unsigned long | addr |
| ID_Type | type |
| Time | t |
| Link_Type | link_type |
| Log_Status | log_stat |
Friends | |
| class | Path |
|
|
Definition at line 55 of file path.h. References link_type, log_stat, LS_NONE, LT_NONE, NONE, t, and type.
|
|
||||||||||||
|
Definition at line 61 of file path.h. References addr, IP, link_type, log_stat, LS_NONE, LT_NONE, MAC, NONE, t, and type.
|
|
|
Definition at line 66 of file path.h. References addr, ID_Type, IP, link_type, log_stat, LS_NONE, LT_NONE, MAC, NONE, t, and type.
|
|
|
|
Definition at line 72 of file path.h. References addr, sr_addr::addr, sr_addr::addr_type, and type. Referenced by Path::fillSR().
|
|
|
Definition at line 76 of file path.h. References addr, IP, nsaddr_t, and type. Referenced by DSRAgent::getRouteForPacket(), DSRAgent::processBrokenRouteError(), DSRAgent::processUnknownFlowError(), DSRAgent::returnSrcRouteToRequestor(), DSRAgent::sendOutRtReq(), DSRAgent::sendRouteShortening(), DSRAgent::sendUnknownFlow(), and DSRAgent::xmitFailed().
00076 {
00077 assert(type == IP); return addr;
00078 }
|
|
|
Definition at line 82 of file path.h. References operator==().
00082 {return !operator==(id2);}
|
Here is the call graph for this function:

|
|
Definition at line 79 of file path.h. Referenced by operator!=().
|
|
|
Definition at line 83 of file path.h.
|
|
|
Definition at line 55 of file path.cc. References addr. Referenced by Path::unparse().
00056 {
00057 fprintf(out,"%d",(int) addr);
00058 }
|
|
|
|
|
|
|
Definition at line 91 of file path.h. Referenced by ID(). |
|
|
Definition at line 92 of file path.h. Referenced by ID(). |
|
|
Definition at line 90 of file path.h. Referenced by ID(). |
|
|
Definition at line 88 of file path.h. Referenced by dump(), fillSRAddr(), getNSAddr_t(), ID(), operator==(), and size(). |
1.3.3