⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arch.h

📁 BCAST Implementation for NS2
💻 H
字号:
/* *   OSPFD routing daemon *   Copyright (C) 1998 by John T. Moy *    *   This program is free software; you can redistribute it and/or *   modify it under the terms of the GNU General Public License *   as published by the Free Software Foundation; either version 2 *   of the License, or (at your option) any later version. *    *   This program is distributed in the hope that it will be useful, *   but WITHOUT ANY WARRANTY; without even the implied warranty of *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *   GNU General Public License for more details. *    *   You should have received a copy of the GNU General Public License *   along with this program; if not, write to the Free Software *   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//* * Architectural constants for the OSPF protocol. Defined in * Appendix B of the OSPF specification. * All time constants are in seconds. */const byte OSPFv2 = 2;			// OSPF version numberconst age_t LSRefreshTime = 1800;	// Max time between LSA updatesconst age_t MinLSInterval = 5;		// Min time between updatesconst age_t MaxAge = 3600;		// Maximum LS Age valueconst age_t CheckAge = 300;		// Verify checksums this oftenconst age_t MaxAgeDiff = 900;		// Max LS age dispersionconst age_t DoNotAge = 0x8000;		// Bit set => don't age LSAconst age_t MinArrival = 1;		// Min time between LSA receptionsconst uns32 LSInfinity = 0xffffffL;	// Metric value => unreachableconst uns32 DefaultDest = 0L;		// Default destination netconst uns32 DefaultMask	= 0L;		// mask for default routeconst uns32 HostMask = 0xffffffffL;	// All ones host maskconst uns32 UnknownAddr	= 0L;		// Unknown address (0.0.0.0)const seq_t InvalidLSSeq = 0x80000000L;	// Invalid LS sequence numberconst seq_t InitLSSeq = 0x80000001L;	// Initial LS Sequence valueconst seq_t MaxLSSeq = 0x7fffffffL;	// Maximum LS Sequenceconst seq_t LSInvalid = 0x80000000L;	// Invalid LS Sequence valueconst aid_t BACKBONE = 0;		// OSPF Backbone areaconst InAddr AllSPFRouters = 0xe0000005; // 224.0.0.5const InAddr AllDRouters = 0xe0000006;  // 224.0.0.6

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -