diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 13:44:03 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 14:29:40 +0300 |
commit | 8cb40c91cdfb00ddf04e88d3ecd40403890d90f7 (patch) | |
tree | 6d6a3de27525820abb740f1fa8347b6f03986bad /bgpd/bgp_mpath.h | |
parent | 86c5d2ee68f7b9c00ae4aeb5c8b3c5d82c5ebffc (diff) | |
download | quagga-cumulus-take-3.tar.bz2 quagga-cumulus-take-3.tar.xz |
cumulus take-3cumulus-take-3
Diffstat (limited to 'bgpd/bgp_mpath.h')
-rw-r--r-- | bgpd/bgp_mpath.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bgpd/bgp_mpath.h b/bgpd/bgp_mpath.h index 2a84d5e1..83db8264 100644 --- a/bgpd/bgp_mpath.h +++ b/bgpd/bgp_mpath.h @@ -24,6 +24,9 @@ #ifndef _QUAGGA_BGP_MPATH_H #define _QUAGGA_BGP_MPATH_H +/* Limit on number of configured maxpaths */ +#define BGP_MAXIMUM_MAXPATHS 255 + /* BGP default maximum-paths */ #define BGP_DEFAULT_MAXPATHS 1 @@ -49,7 +52,8 @@ struct bgp_info_mpath }; /* Functions to support maximum-paths configuration */ -extern int bgp_maximum_paths_set (struct bgp *, afi_t, safi_t, int, u_int16_t); +extern int bgp_maximum_paths_set (struct bgp *, afi_t, safi_t, int, u_int16_t, + u_int16_t); extern int bgp_maximum_paths_unset (struct bgp *, afi_t, safi_t, int); bool bgp_mpath_is_configured_sort (struct bgp *, bgp_peer_sort_t, afi_t, safi_t); bool bgp_mpath_is_configured (struct bgp *, afi_t, safi_t); |