1999-11-17 23:50:41 +08:00
|
|
|
/*
|
|
|
|
* BIRD -- OSPF
|
|
|
|
*
|
2004-06-04 20:53:10 +08:00
|
|
|
* (c) 1999 - 2004 Ondrej Filip <feela@network.cz>
|
1999-11-17 23:50:41 +08: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 20:53:10 +08:00
|
|
|
struct ospf_neighbor *ospf_neighbor_new(struct ospf_iface *ifa);
|
1999-11-17 23:50:41 +08:00
|
|
|
void ospf_neigh_sm(struct ospf_neighbor *n, int event);
|
2000-06-08 05:46:22 +08:00
|
|
|
void bdr_election(struct ospf_iface *ifa);
|
1999-11-17 23:50:41 +08:00
|
|
|
struct ospf_neighbor *find_neigh(struct ospf_iface *ifa, u32 rid);
|
2010-12-25 01:08:07 +08:00
|
|
|
struct ospf_neighbor *find_neigh_by_ip(struct ospf_iface *ifa, ip_addr ip);
|
2000-05-17 07:59:38 +08:00
|
|
|
void ospf_neigh_remove(struct ospf_neighbor *n);
|
2000-06-01 23:53:06 +08:00
|
|
|
void ospf_sh_neigh_info(struct ospf_neighbor *n);
|
1999-11-17 23:50:41 +08:00
|
|
|
|
|
|
|
#endif /* _BIRD_OSPF_NEIGHBOR_H_ */
|