summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-06-15 10:04:41 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-06-15 10:04:41 +0000
commit175dee5314d2a5fe45aef0cd8722f9ce3d0305c0 (patch)
treea657d310112eab4ea976273e466c02adf9cf7ad3 /usr.sbin/bgpd/bgpd.h
parentaccc92cccc0b53f6c352469a571e450cda5e2980 (diff)
Instead of passing three different kinds of arguments in show rib control
request use one struct ctl_show_rib_request where all the info is encoded. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 3cff62feb6e..f961150e395 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.202 2006/06/14 17:08:56 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.203 2006/06/15 10:04:40 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -508,6 +508,15 @@ struct filter_as {
u_int16_t as;
};
+struct ctl_show_rib_request {
+ struct bgpd_addr prefix;
+ struct filter_as as;
+ pid_t pid;
+ u_int16_t flags;
+ sa_family_t af;
+ u_int8_t prefixlen;
+};
+
enum filter_actions {
ACTION_NONE,
ACTION_ALLOW,