ipvsadm: support for scheduler flags

This patch adds support for scheduler flags, necessary to make use of
the "SH fallback and L4 hashing" kernel patch.

The flags are set per service (so using -A or -E) using -b <flags> or
--sched-flags <flags>.  <flags> is a comma-separated list of scheduler
flags.  The currently supported flags are sh-port, sh-fallback, and
generic flag-1, flag-2, flag-3 for future-proofing.

This patch will work with older versions of IPVS, although setting the
flags will have no effect.

Signed-off-by: Alexander Frolkin <avf@eldamar.org.uk>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
3 files changed