summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-02-26 16:19:59 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-02-26 16:19:59 +0000
commit36f9dd8f56855a96f12bfe0c6e6f206d6af8b986 (patch)
treed995beb8244c50de18b5e3684bea607467f1f7d2 /usr.sbin/bgpctl/parser.h
parent892286cd9843a11eba4c3219b764664e7129d166 (diff)
Implement "show rib" and "show rib <astype> <AS>" commands to dump the
RIB. OK henning@
Diffstat (limited to 'usr.sbin/bgpctl/parser.h')
-rw-r--r--usr.sbin/bgpctl/parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.h b/usr.sbin/bgpctl/parser.h
index c61310be192..116be69cec4 100644
--- a/usr.sbin/bgpctl/parser.h
+++ b/usr.sbin/bgpctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.1 2004/01/21 23:45:18 henning Exp $ */
+/* $OpenBSD: parser.h,v 1.2 2004/02/26 16:19:58 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -27,6 +27,7 @@ enum actions {
SHOW_NEIGHBOR,
SHOW_NEIGHBOR_TIMERS,
SHOW_FIB,
+ SHOW_RIB,
SHOW_NEXTHOP,
SHOW_INTERFACE,
RELOAD,
@@ -42,6 +43,7 @@ struct parse_result {
enum actions action;
int flags;
struct bgpd_addr addr;
+ struct as_filter as;
};
struct parse_result *parse(int, char *[]);