2000-03-31 04:00:42 +08:00
|
|
|
/*
|
|
|
|
* BIRD -- OSPF
|
|
|
|
*
|
2004-06-05 05:05:43 +08:00
|
|
|
* (c) 2000--2004 Ondrej Filip <feela@network.cz>
|
2000-03-31 04:00:42 +08: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 22:17:47 +08: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-05 05:05:43 +08:00
|
|
|
void ospf_lsupd_send_list(struct ospf_neighbor *n, list * l);
|
2009-08-21 15:27:52 +08:00
|
|
|
void ospf_lsupd_receive(struct ospf_packet *ps_i,
|
2004-06-07 03:53:52 +08:00
|
|
|
struct ospf_iface *ifa, struct ospf_neighbor *n);
|
2009-08-21 15:27:52 +08: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-31 04:00:42 +08:00
|
|
|
|
|
|
|
#endif /* _BIRD_OSPF_LSUPD_H_ */
|