Lines Matching refs:bfnew
1013 bridge_fwd_t *bfp, *bfnew; in fwd_update_local() local
1077 bfnew = fwd_alloc(newaddr, 1, RBRIDGE_NICKNAME_NONE); in fwd_update_local()
1078 if (bfnew != NULL) in fwd_update_local()
1082 bfnew = bfp; in fwd_update_local()
1084 bfnew = fwd_alloc(newaddr, bfp->bf_nlinks + 1, in fwd_update_local()
1086 if (bfnew != NULL) { in fwd_update_local()
1090 bfnew->bf_nlinks = bfp->bf_nlinks; in fwd_update_local()
1091 bcopy(bfp->bf_links, bfnew->bf_links, in fwd_update_local()
1098 if (bfnew != NULL) { in fwd_update_local()
1099 bfnew->bf_links[bfnew->bf_nlinks++] = blp; in fwd_update_local()
1105 if (bfnew != bfp) { in fwd_update_local()
1107 avl_insert(&bip->bi_fwd, bfnew, idx); in fwd_update_local()
1108 bfnew->bf_flags |= (BFF_INTREE | BFF_LOCALADDR); in fwd_update_local()
1109 atomic_inc_uint(&bfnew->bf_refs); /* avl entry */ in fwd_update_local()
1120 if (bfnew != NULL && bfp != NULL && bfnew != bfp) in fwd_update_local()