2000-03-30 20:00:42 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- OSPF
|
|
|
|
*
|
2004-06-04 21:05:43 +00:00
|
|
|
* (c) 2000--2004 Ondrej Filip <feela@network.cz>
|
2000-03-30 20:00:42 +00:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_OSPF_LSUPD_H_
|
|
|
|
#define _BIRD_OSPF_LSUPD_H_
|
|
|
|
|
2009-04-06 14:17:47 +00:00
|
|
|
void ospf_dump_lsahdr(struct proto *p, struct ospf_lsa_header *lsa_n);
|
|
|
|
void ospf_dump_common(struct proto *p, struct ospf_packet *op);
|
2004-06-04 21:05:43 +00:00
|
|
|
void ospf_lsupd_send_list(struct ospf_neighbor *n, list * l);
|
2009-08-21 07:27:52 +00:00
|
|
|
void ospf_lsupd_receive(struct ospf_packet *ps_i,
|
2004-06-06 19:53:52 +00:00
|
|
|
struct ospf_iface *ifa, struct ospf_neighbor *n);
|
2009-08-21 07:27:52 +00:00
|
|
|
int ospf_lsupd_flood(struct proto_ospf *po,
|
|
|
|
struct ospf_neighbor *n, struct ospf_lsa_header *hn,
|
|
|
|
struct ospf_lsa_header *hh, u32 domain, int rtl);
|
|
|
|
void ospf_lsupd_flush_nlsa(struct proto_ospf *po, struct top_hash_entry *en);
|
|
|
|
int ospf_lsa_flooding_allowed(struct ospf_lsa_header *lsa, u32 domain, struct ospf_iface *ifa);
|
|
|
|
|
2000-03-30 20:00:42 +00:00
|
|
|
|
|
|
|
#endif /* _BIRD_OSPF_LSUPD_H_ */
|