diff options
author | David Lamparter <equinox@diac24.net> | 2012-04-16 13:54:37 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-04-16 13:54:53 +0200 |
commit | 9bb5870e26a4089f599b24adf822c4d1a9870a44 (patch) | |
tree | e4309095a512239ab47b5b0851d9d6fc596398cd /bgpd/bgp_aspath.h | |
parent | a25a44dba84e9a6ac2b87e24472b6e9f959d845b (diff) | |
parent | 3cf6c2b4e43f44a977d218c96c26250654ae333e (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/bgp_aspath.h')
-rw-r--r-- | bgpd/bgp_aspath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h index d55f9ce6..fc4dd6b7 100644 --- a/bgpd/bgp_aspath.h +++ b/bgpd/bgp_aspath.h @@ -72,6 +72,7 @@ extern struct aspath *aspath_prepend (struct aspath *, struct aspath *); extern struct aspath *aspath_filter_exclude (struct aspath *, struct aspath *); extern struct aspath *aspath_add_seq (struct aspath *, as_t); extern struct aspath *aspath_add_confed_seq (struct aspath *, as_t); +extern int aspath_cmp (const void *, const void *); extern int aspath_cmp_left (const struct aspath *, const struct aspath *); extern int aspath_cmp_left_confed (const struct aspath *, const struct aspath *); extern struct aspath *aspath_delete_confed_seq (struct aspath *); |