summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-27 03:53:44 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-27 03:53:44 +0000
commitae9a95e5a45c594bab5d1a3640e2b549f561b252 (patch)
tree80e2410741bbd12859b3cdb1da265acd5d2b89d6 /usr.sbin/bgpd/bgpd.h
parenta2e4e918360b7565774dfd3c1b70c1d7c12bea0e (diff)
initial route refresh support per RFC2918
process incoming route refresh request and notify the RDE not advertised via capabilities yet, claudio ok
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index aac3048f8d4..b235e8dc77c 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.111 2004/04/26 04:13:59 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.112 2004/04/27 03:53:42 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -246,7 +246,8 @@ enum imsg_type {
IMSG_CTL_SHOW_INTERFACE,
IMSG_CTL_SHOW_RIB,
IMSG_CTL_SHOW_RIB_AS,
- IMSG_CTL_SHOW_RIB_PREFIX
+ IMSG_CTL_SHOW_RIB_PREFIX,
+ IMSG_REFRESH
};
struct imsg_hdr {
@@ -458,6 +459,11 @@ struct filter_rule {
struct filter_set set;
};
+struct rrefresh {
+ u_int16_t afi;
+ u_int8_t safi;
+};
+
/* Address Family Numbers as per rfc1700 */
#define AFI_IPv4 1
#define AFI_IPv6 2