diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-04 20:07:31 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-04 20:07:31 +0000 |
commit | e127442db30804c78a939d0db51b8bf9435b29a8 (patch) | |
tree | e8b6d40ea4acd6fe41a6cb68a3d11c879857444f /usr.sbin/bgpd/session.h | |
parent | 02288d0e0b8f430b30d006846ccd3391b91a2135 (diff) |
keep seperate message counters for open/update/keepalive/notification
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 12 |
1 files changed, 9 insertions, 3 deletions
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 <henning@openbsd.org> @@ -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; }; |