summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-04-06 18:03:52 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-04-06 18:03:52 +0000
commit2be012a6184333480af7abe0574a84799840c222 (patch)
tree404659d2f07f9f4df5295bebe3b5a8037050f511 /usr.sbin/bgpd/rde.h
parent013f5cd9c7af96ff380d4096829408c9f22977ca (diff)
Count the updates and withdraws for additional statisic gathering.
Discussed with henning@
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r--usr.sbin/bgpd/rde.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index 0c0c624be40..f9492cf9abf 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.97 2007/01/26 17:40:49 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.98 2007/04/06 18:03:51 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -61,6 +61,10 @@ struct rde_peer {
struct uplist_prefix withdraws6;
struct capabilities capa_announced;
struct capabilities capa_received;
+ u_int64_t prefix_rcvd_update;
+ u_int64_t prefix_rcvd_withdraw;
+ u_int64_t prefix_sent_update;
+ u_int64_t prefix_sent_withdraw;
u_int32_t prefix_cnt; /* # of prefixes */
u_int32_t adjrib_cnt; /* # of p. in Adj-RIB-In */
u_int32_t remote_bgpid; /* host byte order! */