From ef2c708dfac4c8b4b5ab0ed8b71842da5c7ab3d7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 9 Apr 2000 22:05:02 +0000 Subject: More BGP progress... For Pavel: You can use bgp_path_prepend() for prepending AS numbers to AS paths. --- proto/bgp/bgp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proto/bgp/bgp.h') 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 */ -- cgit v1.2.3