summaryrefslogtreecommitdiff
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-04-16 13:54:37 +0200
committerDavid Lamparter <equinox@diac24.net>2012-04-16 13:54:53 +0200
commit9bb5870e26a4089f599b24adf822c4d1a9870a44 (patch)
treee4309095a512239ab47b5b0851d9d6fc596398cd /bgpd/bgpd.h
parenta25a44dba84e9a6ac2b87e24472b6e9f959d845b (diff)
parent3cf6c2b4e43f44a977d218c96c26250654ae333e (diff)
bgpd: merge osr/google-bgp-multipath
this patchset allows collapsing multiple received routes in BGP into one multipath route that will, if readvertised, contain an aggregate of all received attributes.
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r--bgpd/bgpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 892e7dec..09a3435c 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -162,6 +162,12 @@ struct bgp
/* BGP graceful restart */
u_int32_t restart_time;
u_int32_t stalepath_time;
+
+ /* Maximum-paths configuration */
+ struct bgp_maxpaths_cfg {
+ u_int16_t maxpaths_ebgp;
+ u_int16_t maxpaths_ibgp;
+ } maxpaths[AFI_MAX][SAFI_MAX];
};
/* BGP peer-group support. */