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/session.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/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index b1f8553444b..3cd4c52b87a 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.99 2008/09/11 14:49:58 henning Exp $ */ +/* $OpenBSD: session.h,v 1.100 2009/06/04 04:46:42 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -228,7 +228,8 @@ struct ctl_timer { void session_socket_blockmode(int, enum blockmodes); pid_t session_main(struct bgpd_config *, struct peer *, struct network_head *, struct filter_head *, - struct mrt_head *, int[2], int[2], int[2], int[2]); + struct mrt_head *, struct rib_names *, + int[2], int[2], int[2], int[2]); void bgp_fsm(struct peer *, enum session_events); int session_neighbor_rrefresh(struct peer *p); struct peer *getpeerbyaddr(struct bgpd_addr *); @@ -255,8 +256,8 @@ void prepare_listeners(struct bgpd_config *); /* rde.c */ pid_t rde_main(struct bgpd_config *, struct peer *, struct network_head *, - struct filter_head *, struct mrt_head *, int[2], int[2], int[2], - int[2], int); + struct filter_head *, struct mrt_head *, struct rib_names *, + int[2], int[2], int[2], int[2], int); /* control.c */ int control_init(int, char *); |