diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-07-20 00:28:35 +0200 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-07-28 15:49:33 +0200 |
commit | ca87e1d37b3c30648e9bacb476a3c89729512f6d (patch) | |
tree | d0911b72e7d4c3c94c88a65233ee8a7fa8a4c950 /bgpd/bgp_aspath.h | |
parent | [global] interface flags format warnings (diff) | |
download | frr-ca87e1d37b3c30648e9bacb476a3c89729512f6d.tar.xz frr-ca87e1d37b3c30648e9bacb476a3c89729512f6d.zip |
bgpd: Implement BGP confederation error handling (RFC5065, Par. 5)
This patch implements BGP confederation error handling in Quagga as described
in RFC5065, paragraph 5.
* bgp_aspath.c: (aspath_confed_check, aspath_left_confed_check) new functions
* bgp_attr.c: (bgp_attr_aspath_check) apply previous and NOTIFY if there's
a problem.
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r-- | bgpd/bgp_aspath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h index 2b4625c8f..9854d1867 100644 --- a/bgpd/bgp_aspath.h +++ b/bgpd/bgp_aspath.h @@ -88,6 +88,8 @@ extern unsigned int aspath_key_make (void *); extern int aspath_loop_check (struct aspath *, as_t); extern int aspath_private_as_check (struct aspath *); extern int aspath_firstas_check (struct aspath *, as_t); +extern int aspath_confed_check (struct aspath *); +extern int aspath_left_confed_check (struct aspath *); extern unsigned long aspath_count (void); extern unsigned int aspath_count_hops (struct aspath *); extern unsigned int aspath_count_confeds (struct aspath *); |