From a6a0c88823b42e4c789b156106d64002b387d291 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 16 Aug 2011 16:47:15 +0200 Subject: pingu: add config option 'load-balance' Add a config option to tell pingu that we want the interface to be load balanced. We also have an optional value to tell the weight. --- pingu_iface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pingu_iface.h') diff --git a/pingu_iface.h b/pingu_iface.h index 4ef67d4..796d17a 100644 --- a/pingu_iface.h +++ b/pingu_iface.h @@ -15,6 +15,8 @@ struct pingu_iface { int index; int has_binding; int has_link; + int balance; + int balance_weight; int fd; union sockaddr_any primary_addr; int route_table; -- cgit v1.2.3