Revision cf98be7b nest/protocol.h

View differences:

nest/protocol.h
91 91
  int class;				/* SYM_PROTO or SYM_TEMPLATE */
92 92
  u32 debug, mrtdump;			/* Debugging bitfields, both use D_* constants */
93 93
  unsigned preference, disabled;	/* Generic parameters */
94
  int in_keep_rejected;			/* Routes rejected in import filter are kept */
94 95
  u32 router_id;			/* Protocol specific router ID */
95 96
  struct rtable_config *table;		/* Table we're attached to */
96 97
  struct filter *in_filter, *out_filter; /* Attached filters */
......
106 107
struct proto_stats {
107 108
  /* Import - from protocol to core */
108 109
  u32 imp_routes;		/* Number of routes successfully imported to the (adjacent) routing table */
109
  u32 pref_routes;		/* Number of routes that are preferred, sum over all routing table */
110
  u32 rej_routes;		/* Number of routes rejected in import filter but kept in the routing table */
111
  u32 pref_routes;		/* Number of routes that are preferred, sum over all routing tables */
110 112
  u32 imp_updates_received;	/* Number of route updates received */
111 113
  u32 imp_updates_invalid;	/* Number of route updates rejected as invalid */
112 114
  u32 imp_updates_filtered;	/* Number of route updates rejected by filters */
......
410 412
  struct proto_limit *out_limit;	/* Output limit */
411 413
  struct proto_stats *stats;		/* Per-table protocol statistics */
412 414
  struct announce_hook *next;		/* Next hook for the same protocol */
415
  int in_keep_rejected;			/* Routes rejected in import filter are kept */
413 416
};
414 417

  
415 418
struct announce_hook *proto_add_announce_hook(struct proto *p, struct rtable *t, struct proto_stats *stats);

Also available in: Unified diff