From e127442db30804c78a939d0db51b8bf9435b29a8 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sun, 4 Jan 2004 20:07:31 +0000 Subject: keep seperate message counters for open/update/keepalive/notification --- usr.sbin/bgpd/session.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd/session.h') diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index c983e0a0b93..aea136d2830 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.9 2004/01/04 19:39:46 henning Exp $ */ +/* $OpenBSD: session.h,v 1.10 2004/01/04 20:07:30 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -117,8 +117,14 @@ struct ctl_conn { TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns; struct peer_stats { - u_int64_t msg_rcvd; - u_int64_t msg_send; + u_int64_t msg_rcvd_open; + u_int64_t msg_rcvd_update; + u_int64_t msg_rcvd_notification; + u_int64_t msg_rcvd_keepalive; + u_int64_t msg_sent_open; + u_int64_t msg_sent_update; + u_int64_t msg_sent_notification; + u_int64_t msg_sent_keepalive; time_t last_updown; time_t last_read; }; -- cgit v1.2.3