temporary attribute list.
struct config;
struct proto;
struct event;
+struct ea_list;
/*
* Routing Protocol
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);
}
}
if (new || old)
- p->rt_notify(p, net, new, old);
+ p->rt_notify(p, net, new, old, tmpa);
if (new && new != new0) /* Discard temporary rte's */
rte_free(new);
if (old && old != old0)
}
static void
-rip_rt_notify(struct proto *p, struct network *net, struct rte *new, struct rte *old)
+rip_rt_notify(struct proto *p, struct network *net, struct rte *new, struct rte *old, struct ea_list *tmpa)
{
CHK_MAGIC;
*/
static void
-krt_notify(struct proto *P, net *net, rte *new, rte *old)
+krt_notify(struct proto *P, net *net, rte *new, rte *old, struct ea_list *tmpa)
{
struct krt_proto *p = (struct krt_proto *) P;