summaryrefslogtreecommitdiffstats
path: root/include/linux/in.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 18:29:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:57 -0700
commit00a5020cd51febbb3166ff7a09a2901c47ba251a (patch)
tree81019d6669d6ee1a69b40ff845ceeb093be9f86a /include/linux/in.h
parent4b06a7cf2f3c053e7fc47ca6a4c74553e2291e24 (diff)
downloadop-kernel-dev-00a5020cd51febbb3166ff7a09a2901c47ba251a.zip
op-kernel-dev-00a5020cd51febbb3166ff7a09a2901c47ba251a.tar.gz
[IPV4]: annotate ipv4 address fields in struct ip_msfilter and struct ip_mreq_source
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/in.h')
-rw-r--r--include/linux/in.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/in.h b/include/linux/in.h
index bcaca83..d79fc75 100644
--- a/include/linux/in.h
+++ b/include/linux/in.h
@@ -123,17 +123,17 @@ struct ip_mreqn
};
struct ip_mreq_source {
- __u32 imr_multiaddr;
- __u32 imr_interface;
- __u32 imr_sourceaddr;
+ __be32 imr_multiaddr;
+ __be32 imr_interface;
+ __be32 imr_sourceaddr;
};
struct ip_msfilter {
- __u32 imsf_multiaddr;
- __u32 imsf_interface;
+ __be32 imsf_multiaddr;
+ __be32 imsf_interface;
__u32 imsf_fmode;
__u32 imsf_numsrc;
- __u32 imsf_slist[1];
+ __be32 imsf_slist[1];
};
#define IP_MSFILTER_SIZE(numsrc) \
OpenPOWER on IntegriCloud