From dcd2b0e077ff2995660f15ef28580e8a002c5c5f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 5 Aug 2011 09:37:27 +0200 Subject: pingu: implement new config format New format allows users to define interfaces and ping hosts separately. This means we can run pingu in routing-only mode to set up and manage route tables for multi-isp. We allow the user config a preferred alternate route table for each interface. If not configured, pingu will pick one. Example interface definition looks like: interface eth0 { route-table 10 } Example host definition looks like: host 192.168.0.1 { bind-interface eth0 } --- pingu_conf.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pingu_conf.h (limited to 'pingu_conf.h') diff --git a/pingu_conf.h b/pingu_conf.h new file mode 100644 index 0000000..8962475 --- /dev/null +++ b/pingu_conf.h @@ -0,0 +1,6 @@ +#ifndef PINGU_CONF_H +#define PINGU_CONF_H + +int pingu_conf_read(const char *filename); + +#endif -- cgit v1.2.3