summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr.h
diff options
context:
space:
mode:
authorJuergen Kammer <j.kammer@eurodata.de>2007-04-09 14:03:25 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2007-04-09 14:03:25 -0500
commitfc4dc72017e8208111866382782640117d03fb5f (patch)
treec3a8747eeb471098d0dfb4f2e9138d1ac0cfa2f7 /bgpd/bgp_attr.h
parent6502208c3217e52e693146e6b72e76fd76982a51 (diff)
downloadquagga-fc4dc72017e8208111866382782640117d03fb5f.tar.bz2
quagga-fc4dc72017e8208111866382782640117d03fb5f.tar.xz
Applying quagga-cvs20070307-as4-v05.patchquagga-cvs20070307-as4-v05.patch
Diffstat (limited to 'bgpd/bgp_attr.h')
-rw-r--r--bgpd/bgp_attr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h
index 777869ce..1c91dd89 100644
--- a/bgpd/bgp_attr.h
+++ b/bgpd/bgp_attr.h
@@ -57,6 +57,9 @@ struct attr
/* AS Path structure */
struct aspath *aspath;
+ /* New AS Path structure */
+ struct aspath *as4_aspath;
+
/* Community structure */
struct community *community;
@@ -80,11 +83,13 @@ struct attr
u_int32_t med;
u_int32_t local_pref;
struct in_addr aggregator_addr;
+ struct in_addr as4_aggregator_addr;
struct in_addr originator_id;
struct in_addr mp_nexthop_global_in;
struct in_addr mp_nexthop_local_in;
u_int32_t weight;
as_t aggregator_as;
+ as_t as4_aggregator_as;
u_char origin;
u_char mp_nexthop_len;
};
@@ -128,7 +133,7 @@ extern bgp_size_t bgp_packet_withdraw (struct peer *peer, struct stream *s,
struct prefix *p, afi_t, safi_t,
struct prefix_rd *, u_char *);
extern void bgp_dump_routes_attr (struct stream *, struct attr *,
- struct prefix *);
+ struct prefix *, int dump_small_mp_nlri);
extern unsigned int attrhash_key_make (struct attr *);
extern int attrhash_cmp (struct attr *, struct attr *);
extern void attr_show_all (struct vty *);