-static inline void
-rte_make_tmp_attrs(struct rte **rt, struct linpool *pool)
-{
- struct ea_list *(*mta)(struct rte *rt, struct linpool *pool);
- mta = (*rt)->attrs->src->proto->make_tmp_attrs;
- if (!mta) return;
- *rt = rte_cow_rta(*rt, pool);
- struct ea_list *ea = mta(*rt, pool);
- ea->next = (*rt)->attrs->eattrs;
- (*rt)->attrs->eattrs = ea;
-}
-
-/* Moved from route.h to avoid dependency conflicts */
-static inline void rte_update(struct proto *p, const net_addr *n, rte *new) { rte_update2(p->main_channel, n, new, p->main_source); }