summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl/parser.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-04-06 18:36:32 +0000
committerclaudio <claudio@openbsd.org>2007-04-06 18:36:32 +0000
commit5901a216208240cc557f04a6028140beaf4d0213 (patch)
treeac16f0ab85f84b4ac92341f9297e9308e257607e /usr.sbin/bgpctl/parser.h
parentAdd proper checks against fgets failure. From Charles Longeau. (diff)
downloadwireguard-openbsd-5901a216208240cc557f04a6028140beaf4d0213.tar.xz
wireguard-openbsd-5901a216208240cc557f04a6028140beaf4d0213.zip
Implement "bgpctl show neighbor <peer> terse" this will print all statistics
in an easily parseable form. This output can be used to implement SNMP MIBs or rrdtool/mrtg update scripts. OK henning@
Diffstat (limited to 'usr.sbin/bgpctl/parser.h')
-rw-r--r--usr.sbin/bgpctl/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.h b/usr.sbin/bgpctl/parser.h
index 18981134b22..4d6caf224ef 100644
--- a/usr.sbin/bgpctl/parser.h
+++ b/usr.sbin/bgpctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.16 2007/03/28 12:34:08 henning Exp $ */
+/* $OpenBSD: parser.h,v 1.17 2007/04/06 18:36:32 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -27,6 +27,7 @@ enum actions {
SHOW_SUMMARY_TERSE,
SHOW_NEIGHBOR,
SHOW_NEIGHBOR_TIMERS,
+ SHOW_NEIGHBOR_TERSE,
SHOW_FIB,
SHOW_RIB,
SHOW_RIB_MEM,