struct protocol;
struct proto;
+struct symbol;
+struct filter;
+struct cli;
/*
* Generic data structure for storing network prefixes. Also used
void rt_prune(rtable *tab);
void rt_prune_all(void);
+struct rt_show_data {
+ ip_addr prefix;
+ unsigned pxlen;
+ rtable *table;
+ struct filter *filter;
+ int verbose;
+ struct fib_iterator fit;
+};
+void rt_show(struct rt_show_data *);
+
/*
* Route Attributes
*
void rta_dump(rta *);
void rta_dump_all(void);
static inline eattr * rta_find(rta *a, unsigned ea) { return ea_find(a->eattrs, ea); }
+void rta_show(struct cli *, rta *);
/*
* Default protocol preferences