mospf.h
来自「BCAST Implementation for NS2」· C头文件 代码 · 共 44 行
H
44 行
/* Definitions used in the MOSPF routing * calculations. *//* The multiple possibilities for area * initialization. In order of priority for * choosing the downstream interface. */enum { SourceIntraArea = 1, SourceInterArea1 = 2, SourceInterArea2 = 3, SourceExternal = 4, SourceStubExternal,};/* The possible values for incoming link type to a vertex, * used by the MOSPF tiebreakers invoked by the * multicast shortest path calculation. * Listed in order of decreasing preference */enum { ILVirtual = 1, // virtual link ILDirect, // vertex is directly attached to source ILNormal, // transit link advertised in LSAs ILSummary, // advertised by summary-LSA ILExternal, // Advertised in AS-external-LSA ILNone, // Vertex not on the shortest-path tree};/* Storage for a multicast cache entry. */class MospfEntry : public AVLitem { INrte *srte; MCache val; public: MospfEntry(InAddr src, InAddr group); friend class OSPF;};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?