summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ip_vs.h
diff options
context:
space:
mode:
authorJulian Anastasov2015-07-26 14:03:28 +0200
committerSimon Horman2015-08-21 18:10:11 +0200
commitd33288172e72c4729e8b9f2243fb40601afabc8f (patch)
treef6377a80065874ec234f89742436d44e2edace5f /include/uapi/linux/ip_vs.h
parentipvs: add sync_maxlen parameter for the sync daemon (diff)
downloadkernel-qcow2-linux-d33288172e72c4729e8b9f2243fb40601afabc8f.tar.gz
kernel-qcow2-linux-d33288172e72c4729e8b9f2243fb40601afabc8f.tar.xz
kernel-qcow2-linux-d33288172e72c4729e8b9f2243fb40601afabc8f.zip
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/uapi/linux/ip_vs.h')
-rw-r--r--include/uapi/linux/ip_vs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h
index 68377d8c8870..391395c06c7e 100644
--- a/include/uapi/linux/ip_vs.h
+++ b/include/uapi/linux/ip_vs.h
@@ -407,6 +407,10 @@ enum {
IPVS_DAEMON_ATTR_MCAST_IFN, /* multicast interface name */
IPVS_DAEMON_ATTR_SYNC_ID, /* SyncID we belong to */
IPVS_DAEMON_ATTR_SYNC_MAXLEN, /* UDP Payload Size */
+ IPVS_DAEMON_ATTR_MCAST_GROUP, /* IPv4 Multicast Address */
+ IPVS_DAEMON_ATTR_MCAST_GROUP6, /* IPv6 Multicast Address */
+ IPVS_DAEMON_ATTR_MCAST_PORT, /* Multicast Port (base) */
+ IPVS_DAEMON_ATTR_MCAST_TTL, /* Multicast TTL */
__IPVS_DAEMON_ATTR_MAX,
};