summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:49:18 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:49:18 +0000
commitb7edfa3948e4771e4f64dfa20a7d3416b0b86f2c (patch)
treecf912a05718faa7293409c263a3ed1a9ff95bdc8 /usr.sbin/bgpd/rde.h
parenta9828406adf7896570c78cd00b9b93f7614451b7 (diff)
Track some (memory) statistics in the RDE. Accessible via bgpctl.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r--usr.sbin/bgpd/rde.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index 2dd90e7e40f..0ad9c60550c 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.78 2006/01/03 22:19:59 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.79 2006/01/03 22:49:17 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -236,6 +236,8 @@ struct prefix {
u_int32_t flags;
};
+extern struct rde_memstats rdemem;
+
/* prototypes */
/* rde.c */
void rde_send_kroute(struct prefix *, struct prefix *);