diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-17 11:37:31 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-17 11:37:31 +0200 |
commit | f421cfdd80cfce7d1ec4759c603e47071eb028f8 (patch) | |
tree | dfc62ecbdcd9e60fb6f978e1a17303a35e217a1d /proto/bgp/bgp.h | |
parent | c0668f36967ce651e452a476b786b7604038a556 (diff) | |
download | bird-f421cfdd80cfce7d1ec4759c603e47071eb028f8.tar bird-f421cfdd80cfce7d1ec4759c603e47071eb028f8.zip |
Sending of update messages works!
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 9ee5b41..0f84c3b 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -68,8 +68,8 @@ struct bgp_prefix { }; struct bgp_bucket { - struct bgp_bucket *hash_next, *hash_prev; /* Node in bucket hash table */ node send_node; /* Node in send queue */ + struct bgp_bucket *hash_next, *hash_prev; /* Node in bucket hash table */ unsigned hash; /* Hash over extended attributes */ list prefixes; /* Prefixes in this buckets */ ea_list eattrs[0]; /* Per-bucket extended attributes */ @@ -97,6 +97,8 @@ 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 *); void bgp_attr_init(struct bgp_proto *); +byte *bgp_encode_attrs(byte *w, struct bgp_bucket *buck); +void bgp_free_bucket(struct bgp_proto *p, struct bgp_bucket *buck); /* packets.c */ |