]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_flood.h
*: auto-convert to SPDX License IDs
[mirror_frr.git] / ospfd / ospf_flood.h
index 6f7ecfccf0532eea82fde38fcb7335d9bdc2d9cd..6dce6937bf51ee6e4d0b61577135a950c3483df6 100644 (file)
@@ -1,22 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * OSPF Flooding -- RFC2328 Section 13.
  * Copyright (C) 1999, 2000 Toshiaki Takada
- *
- * This file is part of GNU Zebra.
- *
- * GNU Zebra is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2, or (at your
- * option) any later version.
- *
- * GNU Zebra is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _ZEBRA_OSPF_FLOOD_H
@@ -30,6 +15,9 @@ extern int ospf_flood_through_area(struct ospf_area *, struct ospf_neighbor *,
                                   struct ospf_lsa *);
 extern int ospf_flood_through_as(struct ospf *, struct ospf_neighbor *,
                                 struct ospf_lsa *);
+extern int ospf_flood_through_interface(struct ospf_interface *oi,
+                                       struct ospf_neighbor *inbr,
+                                       struct ospf_lsa *lsa);
 
 extern unsigned long ospf_ls_request_count(struct ospf_neighbor *);
 extern int ospf_ls_request_isempty(struct ospf_neighbor *);