Home
last modified time | relevance | path

Searched refs:bc_neighbor (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/net/
Dbfd.c195 bfd->bc_neighbor = pool_get(&bfd_pool_neigh, PR_WAITOK | PR_ZERO); in bfdset()
203 bfd->bc_neighbor->bn_ldiscr = arc4random(); in bfdset()
268 pool_put(&bfd_pool_neigh, bfd->bc_neighbor); in bfd_clear_task()
303 bfd->bc_neighbor->bn_ldiag = BFD_DIAG_FIB_RESET; in bfddestroy()
352 sa_bfd->bs_remotestate = bfd->bc_neighbor->bn_rstate; in bfd2sa()
356 sa_bfd->bs_localdiscr = bfd->bc_neighbor->bn_ldiscr; in bfd2sa()
357 sa_bfd->bs_localdiag = bfd->bc_neighbor->bn_ldiag; in bfd2sa()
358 sa_bfd->bs_remotediscr = bfd->bc_neighbor->bn_rdiscr; in bfd2sa()
359 sa_bfd->bs_remotediag = bfd->bc_neighbor->bn_rdiag; in bfd2sa()
409 if (bfd->bc_neighbor->bn_lstate > BFD_STATE_DOWN) { in bfd_send_task()
[all …]
Dbfd.h135 struct bfd_neighbor *bc_neighbor; member