mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Added extra argument to rt_update hook which contains a pointer to the
temporary attribute list.
This commit is contained in:
@@ -22,6 +22,7 @@ struct proto_config;
|
||||
struct config;
|
||||
struct proto;
|
||||
struct event;
|
||||
struct ea_list;
|
||||
|
||||
/*
|
||||
* Routing Protocol
|
||||
@@ -111,7 +112,7 @@ struct proto {
|
||||
|
||||
void (*if_notify)(struct proto *, unsigned flags, struct iface *i);
|
||||
void (*ifa_notify)(struct proto *, unsigned flags, struct ifa *a);
|
||||
void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old);
|
||||
void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old, struct ea_list *tmpa);
|
||||
void (*neigh_notify)(struct neighbor *neigh);
|
||||
struct ea_list *(*make_tmp_attrs)(struct rte *rt, struct linpool *pool);
|
||||
void (*store_tmp_attrs)(struct rte *rt, struct ea_list *attrs);
|
||||
|
Reference in New Issue
Block a user