ospf_db.h,v

来自「TCP-IP红宝书源代码」· H,V 代码 · 共 84 行

H,V
84
字号
head	1.4;
access;
symbols;
locks
	dls:1.4; strict;
comment	@ * @;


1.4
date	97.09.21.19.26.19;	author dls;	state Dist;
branches;
next	1.3;

1.3
date	94.05.10.20.48.46;	author dls;	state Old;
branches;
next	1.2;

1.2
date	94.02.20.19.01.49;	author dls;	state Works;
branches;
next	1.1;

1.1
date	94.02.13.19.40.01;	author dls;	state Works;
branches;
next	;


desc
@@


1.4
log
@pre-3e code
@
text
@/* ospf_db.h */

#define	LSABUFS		100	/* Number of LSA Buffers for Top. DBs	*/
#define	DBHTMOD		63	/* Database Hash Table Modulus		*/

#define	DBHASH(lsid)	((lsid) % DBHTMOD)

/* An Entry in the Topological Database */

struct ospf_db {
	struct ospf_lsa	 db_lsa;
	struct ospf_db	*db_hnext;	/* Next Entry in Hash Table	*/
	struct ospf_db	*db_lnext;	/* Next Entry in a Full Scan	*/
};
@


1.3
log
@*** empty log message ***
@
text
@@


1.2
log
@*** empty log message ***
@
text
@d3 5
d11 3
a13 2
	struct ospf_lsa	*db_lsa;
	struct ospf_db	*db_next;	/* Next Entry in a Full Scan	*/
@


1.1
log
@Initial revision
@
text
@d2 7
@

⌨️ 快捷键说明

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