/*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: bfd_event.c include file.
*
* Author: Ilya Voronin, <ivoronin@gmail.com>
*
* 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.
*
* 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.
*
* Copyright (C) 2015-2017 Alexandre Cassen, <acassen@gmail.com>
*/
#ifndef _BFD_EVENT_H_
#define _BFD_EVENT_H_
#include "bfd.h"
typedef struct _bfd_event {
char iname[BFD_INAME_MAX];
u_char state;
timeval_t sent_time;
} bfd_event_t;
extern void bfd_event_send(bfd_t *);
#endif /* _BFD_EVENT_H_ */