mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-16 08:07:42 +07:00
[IPV4]: Make struct in_addr::s_addr __be32
There will be relatively small increase in sparse endian warnings, but this (and sin_port) patch is a first step to make networking code endian clean. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0719bdf1b5
commit
def42ff4dd
@ -52,7 +52,7 @@ enum {
|
|||||||
|
|
||||||
/* Internet address. */
|
/* Internet address. */
|
||||||
struct in_addr {
|
struct in_addr {
|
||||||
__u32 s_addr;
|
__be32 s_addr;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IP_TOS 1
|
#define IP_TOS 1
|
||||||
|
Loading…
Reference in New Issue
Block a user