diff options
| author | Julian Anastasov <ja@ssi.bg> | 2013-04-17 16:50:49 -0400 |
|---|---|---|
| committer | Simon Horman <horms@verge.net.au> | 2013-04-22 22:43:05 -0400 |
| commit | 0a925864c1038a78fd1cc9b048d9a2b1ae04b63e (patch) | |
| tree | 1e7816ea1ad26b9945b91d001450646ac489958a /include/uapi/linux | |
| parent | f33c8b94fd51aeb0bc02f87ee172691ddf7936b6 (diff) | |
ipvs: fix sparse warnings for some parameters
Some service fields are in network order:
- netmask: used once in network order and also as prefix len for IPv6
- port
Other parameters are in host order:
- struct ip_vs_flags: flags and mask moved between user and kernel only
- sync state: moved between user and kernel only
- syncid: sent over network as single octet
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/ip_vs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h index 8a2d438dc499..a24537725e80 100644 --- a/include/uapi/linux/ip_vs.h +++ b/include/uapi/linux/ip_vs.h | |||
| @@ -280,8 +280,8 @@ struct ip_vs_daemon_user { | |||
| 280 | #define IPVS_GENL_VERSION 0x1 | 280 | #define IPVS_GENL_VERSION 0x1 |
| 281 | 281 | ||
| 282 | struct ip_vs_flags { | 282 | struct ip_vs_flags { |
| 283 | __be32 flags; | 283 | __u32 flags; |
| 284 | __be32 mask; | 284 | __u32 mask; |
| 285 | }; | 285 | }; |
| 286 | 286 | ||
| 287 | /* Generic Netlink command attributes */ | 287 | /* Generic Netlink command attributes */ |
