Revision fe9f1a6d proto/rip/rip.h

View differences:

proto/rip/rip.h
149 149

  
150 150
struct rip_entry
151 151
{
152
  struct fib_node n;
153 152
  struct rip_rte *routes;		/* List of incoming routes */
154 153

  
155 154
  u8 valid;				/* Entry validity state (RIP_ENTRY_*) */
......
160 159
  ip_addr next_hop;			/* Outgoing route next hop */
161 160

  
162 161
  bird_clock_t changed;			/* Last time when the outgoing route metric changed */
162

  
163
  struct fib_node n;
163 164
};
164 165

  
165 166
struct rip_rte
......
211 212
}
212 213

  
213 214
/* rip.c */
214
void rip_update_rte(struct rip_proto *p, ip_addr *prefix, int pxlen, struct rip_rte *new);
215
void rip_withdraw_rte(struct rip_proto *p, ip_addr *prefix, int pxlen, struct rip_neighbor *from);
215
void rip_update_rte(struct rip_proto *p, net_addr *n, struct rip_rte *new);
216
void rip_withdraw_rte(struct rip_proto *p, net_addr *n, struct rip_neighbor *from);
216 217
struct rip_neighbor * rip_get_neighbor(struct rip_proto *p, ip_addr *a, struct rip_iface *ifa);
217 218
void rip_update_bfd(struct rip_proto *p, struct rip_neighbor *n);
218 219
void rip_show_interfaces(struct proto *P, char *iff);

Also available in: Unified diff