Revision aebe06b4 proto/bgp/bgp.h

View differences:

proto/bgp/bgp.h
132 132
void bgp_attach_attr(struct ea_list **to, struct linpool *pool, unsigned attr, uintptr_t val);
133 133
byte *bgp_attach_attr_wa(struct ea_list **to, struct linpool *pool, unsigned attr, unsigned len);
134 134
struct rta *bgp_decode_attrs(struct bgp_conn *conn, byte *a, unsigned int len, struct linpool *pool, int mandatory);
135
int bgp_get_attr(struct eattr *e, byte *buf);
135
int bgp_get_attr(struct eattr *e, byte *buf, int buflen);
136 136
int bgp_rte_better(struct rte *, struct rte *);
137 137
void bgp_rt_notify(struct proto *, struct network *, struct rte *, struct rte *, struct ea_list *);
138 138
int bgp_import_control(struct proto *, struct rte **, struct ea_list **, struct linpool *);

Also available in: Unified diff