aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_host.h
blob: 1599aa4ce7d3cabc1cfd745dd68a4e4c46ddf1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PINGU_HOST_H
#define PINGU_HOST_H

#include <ev.h>

struct pingu_host {
	struct list_head host_list_entry;
	char *host;
	char *source_ip;
	char *label;
	char *interface;
	char *gateway;
	char *up_action;
	char *down_action;
	int status;
	int max_retries;
	int required_replies;
	float timeout;

	ev_tstamp burst_interval;
	struct ev_timer burst_timeout_watcher;
};

#endif