mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[IPV4]: annotate struct in_ifaddr
ifa_local, ifa_address, ifa_mask, ifa_broadcast and ifa_anycast are net-endian. Annotated them and variables that are inferred to be net-endian. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6d85c10abe
commit
a144ea4b7a
14 changed files with 27 additions and 27 deletions
|
@ -90,11 +90,11 @@ struct in_ifaddr
|
|||
struct in_ifaddr *ifa_next;
|
||||
struct in_device *ifa_dev;
|
||||
struct rcu_head rcu_head;
|
||||
u32 ifa_local;
|
||||
u32 ifa_address;
|
||||
u32 ifa_mask;
|
||||
u32 ifa_broadcast;
|
||||
u32 ifa_anycast;
|
||||
__be32 ifa_local;
|
||||
__be32 ifa_address;
|
||||
__be32 ifa_mask;
|
||||
__be32 ifa_broadcast;
|
||||
__be32 ifa_anycast;
|
||||
unsigned char ifa_scope;
|
||||
unsigned char ifa_flags;
|
||||
unsigned char ifa_prefixlen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue