]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_ext.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / ospfd / ospf_ext.h
index 67280754dd01d44a29444cfc50ecc27c4ddf5d06..535e548b83f464dc721ffd6913279c745df59987 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * This is an implementation of RFC7684 OSPFv2 Prefix/Link Attribute
  * Advertisement
@@ -8,20 +9,6 @@
  * Author: Anselme Sawadogo <anselmesawadogo@gmail.com>
  *
  * Copyright (C) 2016 - 2018 Orange Labs http://www.orange.com
- *
- * This program 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 of the License, or (at your option)
- * any later version.
- *
- * This program 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 _FRR_OSPF_EXT_PREF_H_
@@ -151,10 +138,6 @@ struct ospf_ext_lp {
         */
        uint8_t scope;
 
-       /* area pointer if flooding is Type 10 Null if flooding is AS scope */
-       struct ospf_area *area;
-       struct in_addr area_id;
-
        /* List of interface with Segment Routing enable */
        struct list *iflist;
 };
@@ -193,8 +176,9 @@ extern int ospf_ext_init(void);
 extern void ospf_ext_term(void);
 extern void ospf_ext_finish(void);
 extern void ospf_ext_update_sr(bool enable);
+extern void ospf_ext_link_srlb_update(void);
 extern uint32_t ospf_ext_schedule_prefix_index(struct interface *ifp,
-                                         uint32_t index,
-                                         struct prefix_ipv4 *p,
-                                         uint8_t flags);
+                                              uint32_t index,
+                                              struct prefix_ipv4 *p,
+                                              uint8_t flags);
 #endif /* _FRR_OSPF_EXT_PREF_H_ */