Home
last modified time | relevance | path

Searched refs:last_sent_msg (Results 1 – 4 of 4) sorted by relevance

/openbsd/usr.sbin/bgpd/
H A Drtr_proto.c208 char last_sent_msg[REASON_LEN]; member
317 memset(rs->last_sent_msg, 0, sizeof(rs->last_sent_msg)); in rtr_send_error()
320 vsnprintf(rs->last_sent_msg, sizeof(rs->last_sent_msg), in rtr_send_error()
322 mlen = strlen(rs->last_sent_msg); in rtr_send_error()
327 log_rtr_error(err), mlen > 0 ? ": " : "", rs->last_sent_msg); in rtr_send_error()
351 if (ibuf_add(buf, rs->last_sent_msg, mlen) == -1) in rtr_send_error()
1199 rs->last_sent_msg[0] = '\0'; in rtr_fsm()
1537 strlcpy(msg.last_sent_msg, rs->last_sent_msg, in rtr_show()
1538 sizeof(msg.last_sent_msg)); in rtr_show()
H A Dbgpd.h589 char last_sent_msg[REASON_LEN]; member
/openbsd/usr.sbin/bgpctl/
H A Doutput_json.c976 if (rtr->last_sent_msg[0]) in json_rtr()
978 log_reason(rtr->last_sent_msg)); in json_rtr()
H A Doutput.c1139 if (rtr->last_sent_msg[0]) in show_rtr()
1141 log_reason(rtr->last_sent_msg)); in show_rtr()