nb_makel.c,v
来自「TCP-IP红宝书源代码」· C,V 代码 · 共 91 行
C,V
91 行
head 1.4;
access;
symbols;
locks
dls:1.4; strict;
comment @ * @;
1.4
date 97.09.21.19.28.38; author dls; state Dist;
branches;
next 1.3;
1.3
date 94.02.26.19.50.44; author dls; state Works;
branches;
next 1.2;
1.2
date 94.02.13.19.38.53; author dls; state Works;
branches;
next 1.1;
1.1
date 94.02.06.18.20.28; author dls; state Ok;
branches;
next ;
desc
@@
1.4
log
@pre-3e code
@
text
@/* nb_makel.c - nb_makel */
#include <conf.h>
#include <kernel.h>
#include <network.h>
#include <ospf.h>
#include <q.h>
/*------------------------------------------------------------------------
* nb_makel - create a new adjacency's retransmission lists
*------------------------------------------------------------------------
*/
int nb_makel(pnb)
struct ospf_nb *pnb;
{
pnb->nb_lsal = newq(NBMAXLIST, QF_WAIT);
pnb->nb_dsl = newq(NBMAXLIST, QF_WAIT);
pnb->nb_lsrl = newq(NBMAXLIST, QF_WAIT);
}
@
1.3
log
@*** empty log message ***
@
text
@@
1.2
log
@*** empty log message ***
@
text
@a15 1
kprintf("nb_makel %X\n", pnb->nb_rid);
@
1.1
log
@Initial revision
@
text
@d17 1
a17 1
pnb->nb_lsar = newq(NBMAXLIST, QF_WAIT);
d19 1
a19 1
pnb->nb_lsrr = newq(NBMAXLIST, QF_WAIT);
@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?