diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-04 04:46:43 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-04 04:46:43 +0000 |
commit | 035d32216e5a779b4d4f0ca72e4db41f735a46d1 (patch) | |
tree | 5d3819b36b8791df574773fadac0b9107f9c0150 /usr.sbin/bgpd/bgpd.h | |
parent | c0c9f0ce03e247b21f0baeee8ff1a90e92ea243e (diff) |
Add "rde rib <name>" to the config and allow the rde to use these other RIBs.
Still a bit hackish, reload is missing and printconf as well. Looks good h@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index cac9fc9aa8c..0ab07b09512 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.232 2009/05/27 04:18:21 reyk Exp $ */ +/* $OpenBSD: bgpd.h,v 1.233 2009/06/04 04:46:42 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -722,6 +722,15 @@ struct rde_memstats { int64_t attr_dcnt; }; +struct rde_rib { + SIMPLEQ_ENTRY(rde_rib) entry; + char name[PEER_DESCR_LEN]; + u_int16_t id; + u_int16_t flags; +}; +SIMPLEQ_HEAD(rib_names, rde_rib); +extern struct rib_names ribnames; + /* Address Family Numbers as per RFC 1700 */ #define AFI_IPv4 1 #define AFI_IPv6 2 |