Searched refs:last_sent_msg (Results 1 – 4 of 4) sorted by relevance
/openbsd/usr.sbin/bgpd/ |
H A D | rtr_proto.c | 207 char last_sent_msg[REASON_LEN]; member 326 memset(rs->last_sent_msg, 0, sizeof(rs->last_sent_msg)); in rtr_send_error() 329 vsnprintf(rs->last_sent_msg, sizeof(rs->last_sent_msg), in rtr_send_error() 331 mlen = strlen(rs->last_sent_msg); in rtr_send_error() 336 log_rtr_error(err), mlen > 0 ? ": " : "", rs->last_sent_msg); in rtr_send_error() 360 if (ibuf_add(buf, rs->last_sent_msg, mlen) == -1) in rtr_send_error() 1227 rs->last_sent_msg[0] = '\0'; in rtr_fsm() 1564 strlcpy(msg.last_sent_msg, rs->last_sent_msg, in rtr_show() 1565 sizeof(msg.last_sent_msg)); in rtr_show()
|
H A D | bgpd.h | 602 char last_sent_msg[REASON_LEN]; member
|
/openbsd/usr.sbin/bgpctl/ |
H A D | output_json.c | 982 if (rtr->last_sent_msg[0]) in json_rtr() 984 log_reason(rtr->last_sent_msg)); in json_rtr()
|
H A D | output.c | 1146 if (rtr->last_sent_msg[0]) in show_rtr() 1148 log_reason(rtr->last_sent_msg)); in show_rtr()
|