1999-11-17 15:50:41 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- OSPF
|
|
|
|
*
|
2004-06-04 12:53:10 +00:00
|
|
|
* (c) 1999 - 2004 Ondrej Filip <feela@network.cz>
|
1999-11-17 15:50:41 +00:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_OSPF_NEIGHBOR_H_
|
|
|
|
#define _BIRD_OSPF_NEIGHBOR_H_
|
|
|
|
|
2004-06-04 12:53:10 +00:00
|
|
|
struct ospf_neighbor *ospf_neighbor_new(struct ospf_iface *ifa);
|
1999-11-17 15:50:41 +00:00
|
|
|
void ospf_neigh_sm(struct ospf_neighbor *n, int event);
|
2000-06-07 21:46:22 +00:00
|
|
|
void bdr_election(struct ospf_iface *ifa);
|
1999-11-17 15:50:41 +00:00
|
|
|
struct ospf_neighbor *find_neigh(struct ospf_iface *ifa, u32 rid);
|
2010-12-24 17:08:07 +00:00
|
|
|
struct ospf_neighbor *find_neigh_by_ip(struct ospf_iface *ifa, ip_addr ip);
|
2000-05-16 23:59:38 +00:00
|
|
|
void ospf_neigh_remove(struct ospf_neighbor *n);
|
2000-06-01 15:53:06 +00:00
|
|
|
void ospf_sh_neigh_info(struct ospf_neighbor *n);
|
1999-11-17 15:50:41 +00:00
|
|
|
|
|
|
|
#endif /* _BIRD_OSPF_NEIGHBOR_H_ */
|