Home
last modified time | relevance | path

Searched refs:fib_sync (Results 1 – 9 of 9) sorted by relevance

/openbsd/usr.sbin/ripd/
H A Dkroute.c46 int fib_sync; member
153 kr_state.fib_sync = fs; /* now set correct sync mode */ in kr_init()
246 if (kr_state.fib_sync == 1) /* already coupled */ in kr_fib_couple()
249 kr_state.fib_sync = 1; in kr_fib_couple()
263 if (kr_state.fib_sync == 0) /* already decoupled */ in kr_fib_decouple()
270 kr_state.fib_sync = 0; in kr_fib_decouple()
729 if (kr_state.fib_sync == 0) in send_rtmsg()
/openbsd/usr.sbin/eigrpd/
H A Dkroute.c41 int fib_sync; member
146 kr_state.fib_sync = fs; in kr_init()
281 if (kr_state.fib_sync == 1) /* already coupled */ in kr_fib_couple()
284 kr_state.fib_sync = 1; in kr_fib_couple()
304 if (kr_state.fib_sync == 0) /* already decoupled */ in kr_fib_decouple()
316 kr_state.fib_sync = 0; in kr_fib_decouple()
1047 if (kr_state.fib_sync == 0) in send_rtmsg_v4()
1136 if (kr_state.fib_sync == 0) in send_rtmsg_v6()
/openbsd/usr.sbin/ospfd/
H A Dkroute.c46 int fib_sync; member
138 kr_state.fib_sync = fs; in kr_init()
354 if (kr_state.fib_sync == 1) /* already coupled */ in kr_fib_couple()
357 kr_state.fib_sync = 1; in kr_fib_couple()
373 if (kr_state.fib_sync == 0) /* already decoupled */ in kr_fib_decouple()
381 kr_state.fib_sync = 0; in kr_fib_decouple()
1191 if (kr_state.fib_sync == 0) in send_rtmsg()
/openbsd/usr.sbin/ospf6d/
H A Dkroute.c47 int fib_sync; member
116 kr_state.fib_sync = fs; in RB_PROTOTYPE()
356 if (kr_state.fib_sync == 1) /* already coupled */ in kr_fib_couple()
359 kr_state.fib_sync = 1; in kr_fib_couple()
375 if (kr_state.fib_sync == 0) /* already decoupled */ in kr_fib_decouple()
383 kr_state.fib_sync = 0; in kr_fib_decouple()
1125 if (kr_state.fib_sync == 0) in send_rtmsg()
/openbsd/usr.sbin/ldpd/
H A Dkroute.c43 int fib_sync; member
160 kr_state.fib_sync = fs; in kr_init()
330 if (kr_state.fib_sync == 1) /* already coupled */ in kr_fib_couple()
333 kr_state.fib_sync = 1; in kr_fib_couple()
370 if (kr_state.fib_sync == 0) /* already decoupled */ in kr_fib_decouple()
400 kr_state.fib_sync = 0; in kr_fib_decouple()
1183 if (kr_state.fib_sync == 0) in send_rtmsg_v4()
1318 if (kr_state.fib_sync == 0) in send_rtmsg_v6()
/openbsd/usr.sbin/bgpd/
H A Dkroute.c309 kt->fib_conf = kt->fib_sync = fs; in ktable_new()
707 kt->fib_sync = 0; in kr_flush()
732 if (kt->fib_sync) /* already coupled */ in kr_fib_couple()
735 kt->fib_sync = 1; in kr_fib_couple()
770 if (!kt->fib_sync) /* already decoupled */ in kr_fib_decouple()
784 kt->fib_sync = 0; in kr_fib_decouple()
1333 kt->fib_sync = kt->fib_conf; in ktable_postload()
2686 if (!kt->fib_sync) in send_rtmsg()
H A Dbgpd.h779 uint8_t fib_sync; /* is FIB synced with kernel? */ member
/openbsd/usr.sbin/bgpctl/
H A Doutput_json.c409 json_do_bool("coupled", kt->fib_sync); in json_fib_table()
410 json_do_bool("admin_change", kt->fib_sync != kt->fib_conf); in json_fib_table()
H A Doutput.c493 kt->fib_sync ? "coupled" : "decoupled", in show_fib_table()
494 kt->fib_sync != kt->fib_conf ? "*" : ""); in show_fib_table()