diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-10 00:05:02 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-10 00:05:02 +0200 |
commit | ef2c708dfac4c8b4b5ab0ed8b71842da5c7ab3d7 (patch) | |
tree | 8853f4f400215698fcea03f36758204909e8a9e3 /proto/bgp/bgp.h | |
parent | d3feceff105fbcee7a9976812156aea7517c44e6 (diff) | |
download | bird-ef2c708dfac4c8b4b5ab0ed8b71842da5c7ab3d7.tar bird-ef2c708dfac4c8b4b5ab0ed8b71842da5c7ab3d7.zip |
More BGP progress...
For Pavel: You can use bgp_path_prepend() for prepending AS numbers to AS paths.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 8aaac88..45f7e0b 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -69,6 +69,10 @@ void bgp_close_conn(struct bgp_conn *c); struct rta *bgp_decode_attrs(struct bgp_conn *conn, byte *a, unsigned int len, struct linpool *pool); int bgp_get_attr(struct eattr *e, byte *buf); +int bgp_rte_better(struct rte *, struct rte *); +void bgp_rt_notify(struct proto *, struct network *, struct rte *, struct rte *, struct ea_list *); +int bgp_import_control(struct proto *, struct rte **, struct ea_list **, struct linpool *); +struct ea_list *bgp_path_prepend(struct linpool *pool, struct eattr *a, struct ea_list *old, int as); /* packets.c */ |