diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-10 00:55:34 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-10 00:55:34 +0100 |
commit | 7fc55925beb06059759294e0e9b7bae45465395f (patch) | |
tree | 9f1ee1b354094aab25f64892f0f5dd1afeafdd26 /proto/bgp/bgp.h | |
parent | ed1d853e5147376086e25f5edae9804cf242d6e0 (diff) |
Several minor fixes
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 40c4b3f0..1310582b 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -492,11 +492,13 @@ int bgp_encode_attrs(struct bgp_write_state *s, ea_list *attrs, byte *buf, byte ea_list * bgp_decode_attrs(struct bgp_parse_state *s, byte *data, uint len); void bgp_init_bucket_table(struct bgp_channel *c); +void bgp_free_bucket_table(struct bgp_channel *c); void bgp_free_bucket(struct bgp_channel *c, struct bgp_bucket *b); void bgp_defer_bucket(struct bgp_channel *c, struct bgp_bucket *b); void bgp_withdraw_bucket(struct bgp_channel *c, struct bgp_bucket *b); void bgp_init_prefix_table(struct bgp_channel *c); +void bgp_free_prefix_table(struct bgp_channel *c); void bgp_free_prefix(struct bgp_channel *c, struct bgp_prefix *bp); int bgp_rte_better(struct rte *, struct rte *); |