summaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2015-07-26 15:03:28 +0300
committerSimon Horman <horms@verge.net.au>2015-08-21 09:10:11 -0700
commitd33288172e72c4729e8b9f2243fb40601afabc8f (patch)
treef6377a80065874ec234f89742436d44e2edace5f /include/net/ip_vs.h
parente4ff67513096e6e196ca58043fce04d0f87babbe (diff)
downloadop-kernel-dev-d33288172e72c4729e8b9f2243fb40601afabc8f.zip
op-kernel-dev-d33288172e72c4729e8b9f2243fb40601afabc8f.tar.gz
ipvs: add more mcast parameters for the sync daemon
- mcast_group: configure the multicast address, now IPv6 is supported too - mcast_port: configure the multicast port - mcast_ttl: configure the multicast TTL/HOP_LIMIT Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 2fdc13c..9b9ca87 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -847,8 +847,12 @@ struct ipvs_master_sync_state {
#define IP_VS_DEST_TRASH_PERIOD (120 * HZ)
struct ipvs_sync_daemon_cfg {
+ union nf_inet_addr mcast_group;
int syncid;
u16 sync_maxlen;
+ u16 mcast_port;
+ u8 mcast_af;
+ u8 mcast_ttl;
/* multicast interface name */
char mcast_ifn[IP_VS_IFNAME_MAXLEN];
};
OpenPOWER on IntegriCloud