paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 1999 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 | |
| 22 | #ifndef OSPF6_DBEX_H |
| 23 | #define OSPF6_DBEX_H |
| 24 | |
| 25 | /* for ack_type() */ |
| 26 | #define NO_ACK 0 |
| 27 | #define DELAYED_ACK 1 |
| 28 | #define DIRECT_ACK 2 |
| 29 | |
| 30 | /* Function Prototypes */ |
| 31 | void |
| 32 | ospf6_add_delayed_ack (struct ospf6_lsa *, struct ospf6_interface *); |
| 33 | void |
| 34 | ospf6_remove_delayed_ack (struct ospf6_lsa *, struct ospf6_interface *); |
| 35 | void ospf6_lsa_delayed_ack_remove_all (struct ospf6_lsa *lsa); |
| 36 | |
| 37 | void ospf6_dbex_prepare_summary (struct ospf6_neighbor *); |
| 38 | |
| 39 | int |
| 40 | ospf6_dbex_check_dbdesc_lsa_header (struct ospf6_lsa_header *lsa_header, |
| 41 | struct ospf6_neighbor *from); |
| 42 | |
| 43 | void |
| 44 | ospf6_dbex_acknowledge_delayed (struct ospf6_lsa *lsa, |
| 45 | struct ospf6_interface *o6i); |
| 46 | |
| 47 | void |
| 48 | ospf6_dbex_receive_lsa (struct ospf6_lsa_header *, |
| 49 | struct ospf6_neighbor *); |
| 50 | |
| 51 | int ack_type (struct ospf6_lsa *, int, struct ospf6_neighbor *); |
| 52 | |
| 53 | void ospf6_dbex_flood (struct ospf6_lsa *, struct ospf6_neighbor *); |
| 54 | |
| 55 | void |
| 56 | ospf6_dbex_remove_from_all_retrans_list (struct ospf6_lsa *lsa); |
| 57 | |
| 58 | #endif /* OSPF6_DBEX_H */ |
| 59 | |