From 175dee5314d2a5fe45aef0cd8722f9ce3d0305c0 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Thu, 15 Jun 2006 10:04:41 +0000 Subject: 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@ --- usr.sbin/bgpd/bgpd.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd/bgpd.h') 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 @@ -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, -- cgit v1.2.3