2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-11-19 21:51:52 +01:00
|
|
|
/*
|
2019-01-29 20:59:01 +01:00
|
|
|
* VRRP Zebra interfacing.
|
|
|
|
* Copyright (C) 2018-2019 Cumulus Networks, Inc.
|
|
|
|
* Quentin Young
|
2018-11-19 21:51:52 +01:00
|
|
|
*/
|
|
|
|
#ifndef __VRRP_ZEBRA_H__
|
|
|
|
#define __VRRP_ZEBRA_H__
|
|
|
|
|
2019-02-05 23:02:40 +01:00
|
|
|
#include <zebra.h>
|
|
|
|
|
|
|
|
#include "lib/if.h"
|
|
|
|
|
2018-11-19 21:51:52 +01:00
|
|
|
extern void vrrp_zebra_init(void);
|
2019-01-28 21:15:00 +01:00
|
|
|
extern void vrrp_zebra_radv_set(struct vrrp_router *r, bool enable);
|
2020-11-11 20:14:37 +01:00
|
|
|
extern void vrrp_zclient_send_interface_protodown(struct interface *ifp,
|
|
|
|
bool down);
|
2019-01-29 20:59:01 +01:00
|
|
|
|
2019-09-18 22:20:04 +02:00
|
|
|
extern int vrrp_ifp_create(struct interface *ifp);
|
|
|
|
extern int vrrp_ifp_up(struct interface *ifp);
|
|
|
|
extern int vrrp_ifp_down(struct interface *ifp);
|
|
|
|
extern int vrrp_ifp_destroy(struct interface *ifp);
|
|
|
|
|
2019-01-29 20:59:01 +01:00
|
|
|
#endif /* __VRRP_ZEBRA_H__ */
|