/*
 * 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:        check_udp.c include file.
 *
 * Author:      Jie Liu, <liujie165@huawei.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) 2019-2019 Alexandre Cassen, <acassen@gmail.com>
 */

#ifndef _CHECK_PING_H
#define _CHECK_PING_H

#include "check_api.h"

typedef struct _ping_check {
	uint16_t	seq_no;
	bool		response_expected;
} ping_check_t;

/* function prototypes */
extern bool set_ping_group_range(bool);
extern void install_ping_check_keyword(void);
#ifdef THREAD_DUMP
extern void register_check_ping_addresses(void);
#endif


#endif
