|
|
|
@ -621,7 +621,7 @@ |
|
|
|
|
|
|
|
|
|
#define IP6_MF 0x0001
|
|
|
|
|
#define IP6_OFFSET 0xFFF8
|
|
|
|
|
@@ -450,8 +450,8 @@ static inline void __ipv6_addr_set_half(
|
|
|
|
|
@@ -443,8 +443,8 @@ static inline void __ipv6_addr_set_half(
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
@ -632,7 +632,7 @@ |
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static inline void ipv6_addr_set(struct in6_addr *addr,
|
|
|
|
|
@@ -510,6 +510,8 @@ static inline bool ipv6_prefix_equal(con
|
|
|
|
|
@@ -503,6 +503,8 @@ static inline bool ipv6_prefix_equal(con
|
|
|
|
|
const __be32 *a1 = addr1->s6_addr32;
|
|
|
|
|
const __be32 *a2 = addr2->s6_addr32;
|
|
|
|
|
unsigned int pdw, pbi;
|
|
|
|
@ -641,7 +641,7 @@ |
|
|
|
|
|
|
|
|
|
/* check complete u32 in prefix */
|
|
|
|
|
pdw = prefixlen >> 5;
|
|
|
|
|
@@ -518,7 +520,9 @@ static inline bool ipv6_prefix_equal(con
|
|
|
|
|
@@ -511,7 +513,9 @@ static inline bool ipv6_prefix_equal(con
|
|
|
|
|
|
|
|
|
|
/* check incomplete u32 in prefix */
|
|
|
|
|
pbi = prefixlen & 0x1f;
|
|
|
|
@ -652,7 +652,7 @@ |
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
@@ -662,13 +666,13 @@ static inline void ipv6_addr_set_v4mappe
|
|
|
|
|
@@ -655,13 +659,13 @@ static inline void ipv6_addr_set_v4mappe
|
|
|
|
|
*/
|
|
|
|
|
static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen)
|
|
|
|
|
{
|
|
|
|
@ -668,7 +668,7 @@ |
|
|
|
|
if (xb)
|
|
|
|
|
return i * 32 + 31 - __fls(ntohl(xb));
|
|
|
|
|
}
|
|
|
|
|
@@ -837,17 +841,18 @@ static inline int ip6_default_np_autolab
|
|
|
|
|
@@ -830,17 +834,18 @@ static inline int ip6_default_np_autolab
|
|
|
|
|
static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass,
|
|
|
|
|
__be32 flowlabel)
|
|
|
|
|
{
|
|
|
|
|