]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripd/rip_interface.h
Merge pull request #13350 from opensourcerouting/typesafe-fixes-20230421
[mirror_frr.git] / ripd / rip_interface.h
index 867c163f58c0921248084e548b6e30875a692547..eee654b49714147101bb9b530d703ea3436cf6c9 100644 (file)
@@ -1,26 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* RIP interface routines
  *
  * This file is part of Quagga
- *
- * Quagga 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.
- *
- * Quagga 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 Quagga; see the file COPYING.  If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
  */
 
 #ifndef _QUAGGA_RIP_INTERFACE_H
 #define _QUAGGA_RIP_INTERFACE_H
 
+#include "memory.h"
+#include "zclient.h"
+
+DECLARE_MTYPE(RIP_INTERFACE_STRING);
+
 extern int rip_interface_down(int, struct zclient *, zebra_size_t, vrf_id_t);
 extern int rip_interface_up(int, struct zclient *, zebra_size_t, vrf_id_t);
 extern int rip_interface_add(int, struct zclient *, zebra_size_t, vrf_id_t);
@@ -29,5 +20,7 @@ extern int rip_interface_address_add(int, struct zclient *, zebra_size_t,
                                     vrf_id_t);
 extern int rip_interface_address_delete(int, struct zclient *, zebra_size_t,
                                        vrf_id_t);
+extern int rip_interface_vrf_update(ZAPI_CALLBACK_ARGS);
+extern void rip_interface_sync(struct interface *ifp);
 
 #endif /* _QUAGGA_RIP_INTERFACE_H */