summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-19 11:01:41 +0000
committerMartin Mares <mj@ucw.cz>2000-05-19 11:01:41 +0000
commit5e88d7302599b7ac521624c77adf0b3c72601670 (patch)
treef2b45af33fde31c5d519f28a524e3d95c1321934 /proto/bgp/bgp.h
parentf49528a3dfa034415527824cbbd0762f3829f0cd (diff)
BGP now reports originating AS and origin type in get_route_info().
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 397928c4..03f47f99 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -123,6 +123,7 @@ int bgp_import_control(struct proto *, struct rte **, struct ea_list **, struct
void bgp_attr_init(struct bgp_proto *);
unsigned int bgp_encode_attrs(byte *w, struct ea_list *attrs, int remains);
void bgp_free_bucket(struct bgp_proto *p, struct bgp_bucket *buck);
+void bgp_get_route_info(struct rte *, byte *buf, struct ea_list *attrs);
/* packets.c */