ipvs: extend connection flags to 32 bits
authorJulian Anastasov <ja@ssi.bg>
Fri, 17 Sep 2010 12:18:16 +0000 (14:18 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 17 Sep 2010 12:18:16 +0000 (14:18 +0200)
commit3575792e005dc9994f15ae72c1c6f401d134177d
tree2383227df0b4ab3418ecb2167535063b7f829f4d
parentb23909695c33f53df5f1d16696b1aa5b874c1904
ipvs: extend connection flags to 32 bits

- the sync protocol supports 16 bits only, so bits 0..15 should be
used only for flags that should go to backup server, bits 16 and
above should be allocated for flags not sent to backup.

- use IP_VS_CONN_F_DEST_MASK as mask of connection flags in
destination that can be changed by user space

- allow IP_VS_CONN_F_ONE_PACKET to be set in destination

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/ip_vs.h
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_ctl.c