ospf6_flood.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 2003 Yasuhiro Ohara
  3. *
  4. * This file is part of GNU Zebra.
  5. *
  6. * GNU Zebra is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2, or (at your option) any
  9. * later version.
  10. *
  11. * GNU Zebra is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with GNU Zebra; see the file COPYING. If not, write to the
  18. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. * Boston, MA 02111-1307, USA.
  20. */
  21. #ifndef OSPF6_FLOOD_H
  22. #define OSPF6_FLOOD_H
  23. /* Function Prototypes */
  24. void *ospf6_get_lsa_scope (u_int16_t type, struct ospf6_neighbor *from);
  25. struct ospf6_lsdb *ospf6_get_scoped_lsdb (u_int16_t type, void *scope);
  26. void ospf6_decrement_onretrans (struct ospf6_lsa *lsa);
  27. void ospf6_flood_clear (struct ospf6_lsa *lsa);
  28. void ospf6_flood_lsa (struct ospf6_lsa *lsa, struct ospf6_neighbor *from);
  29. void ospf6_install_lsa (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb);
  30. void ospf6_receive_lsa (struct ospf6_lsa_header *header,
  31. struct ospf6_neighbor *from);
  32. #endif /* OSPF6_FLOOD_H */