Home
last modified time | relevance | path

Searched refs:grestart (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/usr.sbin/bgpd/
Dsession.c924 if (peer->capa.neg.grestart.restart == 2 && in change_state()
927 (peer->capa.neg.grestart.grnotification && in change_state()
961 peer->capa.neg.grestart.restart == 2) { in change_state()
1072 p->capa.neg.grestart.restart == 2) { in session_accept()
1566 if (p->capa.ann.grestart.restart) { in session_open()
1571 if (p->capa.neg.grestart.flags[i] & CAPA_GR_RESTARTING) in session_open()
1578 if (p->capa.ann.grestart.grnotification) in session_open()
1806 if (p->capa.neg.grestart.grnotification) { in session_notification()
1933 if (staletime > p->capa.neg.grestart.timeout) in session_graceful_restart()
1934 staletime = p->capa.neg.grestart.timeout; in session_graceful_restart()
[all …]
Dprintconf.c957 if (p->capabilities.grestart.restart == 2) in print_announce()
959 else if (p->capabilities.grestart.restart == 0) in print_announce()
962 if (p->capabilities.grestart.restart != 0 && in print_announce()
963 p->capabilities.grestart.grnotification) in print_announce()
Drde_peer.c395 if (peer->capa.grestart.restart) { in peer_up()
545 if (peer->capa.grestart.restart) in peer_blast_done()
Dbgpd.h434 } grestart; member
Dparse.y1986 curpeer->conf.capabilities.grestart.restart = $3;
1989 curpeer->conf.capabilities.grestart.grnotification = $4;
4690 p->conf.capabilities.grestart.restart = 1; in alloc_peer()
Drde.c3519 if (peer->capa.grestart.restart && !sent_eor) in rde_update_queue_runner()
/openbsd/src/usr.sbin/bgpctl/
Doutput_json.c52 if (!hascapamp && !hascapaap && !capa->grestart.restart && in json_neighbor_capabilities()
69 if (capa->grestart.restart) { in json_neighbor_capabilities()
73 if (capa->grestart.flags[i] & CAPA_GR_PRESENT) { in json_neighbor_capabilities()
75 if (capa->grestart.flags[i] & CAPA_GR_RESTART) in json_neighbor_capabilities()
83 if (capa->grestart.timeout) in json_neighbor_capabilities()
84 json_do_uint("timeout", capa->grestart.timeout); in json_neighbor_capabilities()
85 if (capa->grestart.grnotification) in json_neighbor_capabilities()
91 if (capa->grestart.flags[i] & CAPA_GR_PRESENT) { in json_neighbor_capabilities()
95 capa->grestart.flags[i] & in json_neighbor_capabilities()
Doutput.c186 if (capa->grestart.timeout) in show_neighbor_capa_restart()
187 printf("timeout: %d, ", capa->grestart.timeout); in show_neighbor_capa_restart()
188 if (capa->grestart.grnotification) in show_neighbor_capa_restart()
191 if (capa->grestart.flags[i] & CAPA_GR_PRESENT) { in show_neighbor_capa_restart()
193 capa->grestart.flags[i] & CAPA_GR_RESTART) in show_neighbor_capa_restart()
198 if (capa->grestart.flags[i] & CAPA_GR_FORWARD) in show_neighbor_capa_restart()
335 if (hascapamp || hascapaap || p->capa.peer.grestart.restart || in show_neighbor_full()
349 if (p->capa.peer.grestart.restart) in show_neighbor_full()
367 if (hascapamp || hascapaap || p->capa.neg.grestart.restart || in show_neighbor_full()
381 if (p->capa.neg.grestart.restart) in show_neighbor_full()