Loading include/linux/in6.h +2 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ struct in6_addr union { __u8 u6_addr8[16]; __u16 u6_addr16[8]; __u32 u6_addr32[4]; __be16 u6_addr16[8]; __be32 u6_addr32[4]; } in6_u; #define s6_addr in6_u.u6_addr8 #define s6_addr16 in6_u.u6_addr16 Loading include/net/ipv6.h +3 −3 Original line number Diff line number Diff line Loading @@ -318,8 +318,8 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx, #ifndef __HAVE_ARCH_ADDR_SET static inline void ipv6_addr_set(struct in6_addr *addr, __u32 w1, __u32 w2, __u32 w3, __u32 w4) __be32 w1, __be32 w2, __be32 w3, __be32 w4) { addr->s6_addr32[0] = w1; addr->s6_addr32[1] = w2; Loading @@ -337,7 +337,7 @@ static inline int ipv6_addr_equal(const struct in6_addr *a1, a1->s6_addr32[3] == a2->s6_addr32[3]); } static inline int __ipv6_prefix_equal(const u32 *a1, const u32 *a2, static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2, unsigned int prefixlen) { unsigned pdw, pbi; Loading Loading
include/linux/in6.h +2 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ struct in6_addr union { __u8 u6_addr8[16]; __u16 u6_addr16[8]; __u32 u6_addr32[4]; __be16 u6_addr16[8]; __be32 u6_addr32[4]; } in6_u; #define s6_addr in6_u.u6_addr8 #define s6_addr16 in6_u.u6_addr16 Loading
include/net/ipv6.h +3 −3 Original line number Diff line number Diff line Loading @@ -318,8 +318,8 @@ static inline void ipv6_addr_prefix(struct in6_addr *pfx, #ifndef __HAVE_ARCH_ADDR_SET static inline void ipv6_addr_set(struct in6_addr *addr, __u32 w1, __u32 w2, __u32 w3, __u32 w4) __be32 w1, __be32 w2, __be32 w3, __be32 w4) { addr->s6_addr32[0] = w1; addr->s6_addr32[1] = w2; Loading @@ -337,7 +337,7 @@ static inline int ipv6_addr_equal(const struct in6_addr *a1, a1->s6_addr32[3] == a2->s6_addr32[3]); } static inline int __ipv6_prefix_equal(const u32 *a1, const u32 *a2, static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2, unsigned int prefixlen) { unsigned pdw, pbi; Loading