version 1.1, 2012/02/21 17:26:11
|
version 1.1.1.3, 2016/11/02 10:09:10
|
Line 21 Boston, MA 02111-1307, USA. */
|
Line 21 Boston, MA 02111-1307, USA. */
|
#ifndef _QUAGGA_BGP_ZEBRA_H |
#ifndef _QUAGGA_BGP_ZEBRA_H |
#define _QUAGGA_BGP_ZEBRA_H |
#define _QUAGGA_BGP_ZEBRA_H |
|
|
extern void bgp_zebra_init (void); | #define BGP_NEXTHOP_BUF_SIZE (8 * sizeof (struct in_addr *)) |
| |
| extern struct stream *bgp_nexthop_buf; |
| |
| extern void bgp_zebra_init (struct thread_master *master); |
| extern void bgp_zebra_destroy (void); |
extern int bgp_if_update_all (void); |
extern int bgp_if_update_all (void); |
|
extern int bgp_config_write_maxpaths (struct vty *, struct bgp *, afi_t, |
|
safi_t, int *); |
extern int bgp_config_write_redistribute (struct vty *, struct bgp *, afi_t, safi_t, |
extern int bgp_config_write_redistribute (struct vty *, struct bgp *, afi_t, safi_t, |
int *); |
int *); |
extern void bgp_zebra_announce (struct prefix *, struct bgp_info *, struct bgp *); | extern void bgp_zebra_announce (struct prefix *, struct bgp_info *, struct bgp *, safi_t); |
extern void bgp_zebra_withdraw (struct prefix *, struct bgp_info *); | extern void bgp_zebra_withdraw (struct prefix *, struct bgp_info *, safi_t); |
|
|
extern int bgp_redistribute_set (struct bgp *, afi_t, int); |
extern int bgp_redistribute_set (struct bgp *, afi_t, int); |
extern int bgp_redistribute_rmap_set (struct bgp *, afi_t, int, const char *); |
extern int bgp_redistribute_rmap_set (struct bgp *, afi_t, int, const char *); |
Line 37 extern int bgp_redistribute_metric_unset (struct bgp *
|
Line 44 extern int bgp_redistribute_metric_unset (struct bgp *
|
|
|
extern struct interface *if_lookup_by_ipv4 (struct in_addr *); |
extern struct interface *if_lookup_by_ipv4 (struct in_addr *); |
extern struct interface *if_lookup_by_ipv4_exact (struct in_addr *); |
extern struct interface *if_lookup_by_ipv4_exact (struct in_addr *); |
#ifdef HAVE_IPV6 |
|
extern struct interface *if_lookup_by_ipv6 (struct in6_addr *); |
extern struct interface *if_lookup_by_ipv6 (struct in6_addr *); |
extern struct interface *if_lookup_by_ipv6_exact (struct in6_addr *); |
extern struct interface *if_lookup_by_ipv6_exact (struct in6_addr *); |
#endif /* HAVE_IPV6 */ |
|
|
|
#endif /* _QUAGGA_BGP_ZEBRA_H */ |
#endif /* _QUAGGA_BGP_ZEBRA_H */ |