Home
last modified time | relevance | path

Searched refs:depend_ok (Results 1 – 13 of 13) sorted by relevance

/openbsd/usr.sbin/ospfd/
H A Dospfd.c546 int is_default, depend_ok; in ospf_redistribute() local
556 depend_ok = ifstate_is_up(kif); in ospf_redistribute()
558 depend_ok = 0; in ospf_redistribute()
560 depend_ok = 1; in ospf_redistribute()
565 *metric = depend_ok ? r->metric : in ospf_redistribute()
581 *metric = depend_ok ? r->metric : in ospf_redistribute()
592 *metric = depend_ok ? r->metric : in ospf_redistribute()
604 *metric = depend_ok ? r->metric : in ospf_redistribute()
614 *metric = depend_ok ? r->metric : in ospf_redistribute()
621 *metric = depend_ok ? r->metric : in ospf_redistribute()
[all …]
H A Dospfe.c339 iface->depend_ok = in ospfe_dispatch_main()
886 iface->depend_ok == 0) in orig_rtr_lsa()
909 iface->depend_ok == 0) in orig_rtr_lsa()
971 iface->depend_ok == 0) in orig_rtr_lsa()
1030 iface->depend_ok == 0) in orig_rtr_lsa()
1052 else if (iface->dependon[0] != '\0' && iface->depend_ok == 0) in orig_rtr_lsa()
H A Dospfd.h354 int depend_ok; member
490 int depend_ok; member
H A Dinterface.c635 ictl.depend_ok = iface->depend_ok; in if_to_ctl()
H A Dparse.y780 iface->depend_ok = ifstate_is_up(kif);
783 iface->depend_ok = 1;
/openbsd/usr.sbin/ospf6d/
H A Dospf6d.c522 int depend_ok; in ospf_redistribute() local
531 depend_ok = ifstate_is_up(iface); in ospf_redistribute()
533 depend_ok = 0; in ospf_redistribute()
535 depend_ok = 1; in ospf_redistribute()
540 *metric = depend_ok ? r->metric : in ospf_redistribute()
556 *metric = depend_ok ? r->metric : in ospf_redistribute()
567 *metric = depend_ok ? r->metric : in ospf_redistribute()
579 *metric = depend_ok ? r->metric : in ospf_redistribute()
590 *metric = depend_ok ? r->metric : in ospf_redistribute()
597 *metric = depend_ok ? r->metric : in ospf_redistribute()
H A Dospfe.c294 i->depend_ok = in ospfe_dispatch_main()
812 iface->depend_ok == 0) in orig_rtr_lsa()
841 iface->depend_ok == 0) in orig_rtr_lsa()
H A Dospf6d.h320 int depend_ok; member
H A Dparse.y599 iface->depend_ok = ifstate_is_up(depend_if);
602 iface->depend_ok = 1;
H A Drde.c702 i->depend_ok = in rde_dispatch_parent()
1547 !(iface->depend_ok)) { in orig_intra_lsa_rtr()
/openbsd/usr.sbin/bgpd/
H A Dsession.c573 p->depend_ok = 1; in init_peer()
617 if (!peer->depend_ok) in bgp_fsm()
2936 int n, fd, depend_ok, restricted; in session_dispatch_imsg() local
3131 depend_ok = sdon.depend_state; in session_dispatch_imsg()
3135 if (depend_ok && !p->depend_ok) { in session_dispatch_imsg()
3136 p->depend_ok = depend_ok; in session_dispatch_imsg()
3138 } else if (!depend_ok && p->depend_ok) { in session_dispatch_imsg()
3139 p->depend_ok = depend_ok; in session_dispatch_imsg()
H A Dsession.h232 uint8_t depend_ok; member
/openbsd/usr.sbin/ospfctl/
H A Doutput.c175 iface->depend_ok ? "up" : "down"); in show_interface()