mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
Dropping rte-local dumper entries
This commit is contained in:
parent
1eae8266e0
commit
4e7cc6c638
@ -75,16 +75,6 @@ int reconfigure(struct proto *p, struct proto_config *c)
|
|||||||
void dump(struct proto *p)
|
void dump(struct proto *p)
|
||||||
{ DUMMY; }
|
{ DUMMY; }
|
||||||
|
|
||||||
/**
|
|
||||||
* dump_attrs - dump protocol-dependent attributes
|
|
||||||
* @e: a route entry
|
|
||||||
*
|
|
||||||
* This hook dumps all attributes in the &rte which belong to this
|
|
||||||
* protocol to the debug output.
|
|
||||||
*/
|
|
||||||
void dump_attrs(rte *e)
|
|
||||||
{ DUMMY; }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* start - request instance startup
|
* start - request instance startup
|
||||||
* @p: protocol instance
|
* @p: protocol instance
|
||||||
|
@ -74,7 +74,6 @@ struct protocol {
|
|||||||
struct proto * (*init)(struct proto_config *); /* Create new instance */
|
struct proto * (*init)(struct proto_config *); /* Create new instance */
|
||||||
int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance, returns success */
|
int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance, returns success */
|
||||||
void (*dump)(struct proto *); /* Debugging dump */
|
void (*dump)(struct proto *); /* Debugging dump */
|
||||||
void (*dump_attrs)(struct rte *); /* Dump protocol-dependent attributes */
|
|
||||||
int (*start)(struct proto *); /* Start the instance */
|
int (*start)(struct proto *); /* Start the instance */
|
||||||
int (*shutdown)(struct proto *); /* Stop the instance */
|
int (*shutdown)(struct proto *); /* Stop the instance */
|
||||||
void (*cleanup)(struct proto *); /* Called after shutdown when protocol became hungry/down */
|
void (*cleanup)(struct proto *); /* Called after shutdown when protocol became hungry/down */
|
||||||
@ -460,7 +459,6 @@ struct channel_class {
|
|||||||
|
|
||||||
|
|
||||||
void (*dump)(struct proto *); /* Debugging dump */
|
void (*dump)(struct proto *); /* Debugging dump */
|
||||||
void (*dump_attrs)(struct rte *); /* Dump protocol-dependent attributes */
|
|
||||||
|
|
||||||
void (*get_status)(struct proto *, byte *buf); /* Get instance status (for `show protocols' command) */
|
void (*get_status)(struct proto *, byte *buf); /* Get instance status (for `show protocols' command) */
|
||||||
void (*get_route_info)(struct rte *, byte *buf); /* Get route information (for `show route' command) */
|
void (*get_route_info)(struct rte *, byte *buf); /* Get route information (for `show route' command) */
|
||||||
|
@ -1465,8 +1465,6 @@ rte_dump(rte *e)
|
|||||||
debug("%-1N ", n->n.addr);
|
debug("%-1N ", n->n.addr);
|
||||||
debug("PF=%02x ", e->pflags);
|
debug("PF=%02x ", e->pflags);
|
||||||
rta_dump(e->attrs);
|
rta_dump(e->attrs);
|
||||||
if (e->attrs->src->proto->proto->dump_attrs)
|
|
||||||
e->attrs->src->proto->proto->dump_attrs(e);
|
|
||||||
debug("\n");
|
debug("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user