在ns2中ospf的原始代码中,' mt
'是什么意思?这是否意味着路径中的任何中间节点?或表示多拓扑,即包含所有中间节点。
例如:在 ospf.cc
OspfPaths::iterator OspfPaths::insertPath(int destId, int mtid, int cost, int nextHop)
请阅读 ospf.h 的描述...
71 //**********************************************************************************
72 // MTLink: representing MultiTopology id and metric attached to a link
73 //**********************************************************************************
78 int mtId_; // MultiTopology id
90 //**********************************************************************************
91 // MTLinkList: List of MTLink attached to a link
92 //**********************************************************************************
111 MTLinkList MTLinkList_; //MT id's and metrics attached to the link
292 int mtId_; // multiTopology id
372 // lookup the path's cost for the destId and Mtid
385 // lookup next hop list for the destId and Mtid
439 // insert next hop list for destId and mtid
463 // returns the iterator for the less cost path for mtid
1084 // returns the path for destId and Mtid