Home
last modified time | relevance | path

Searched refs:s6_addr32 (Results 1 – 9 of 9) sorted by relevance

/include/net/
Dip6_checksum.h48 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
49 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
52 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
53 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
56 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
57 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
60 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic()
61 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
64 sum += (__force u32)daddr->s6_addr32[0]; in csum_ipv6_magic()
65 carry = (sum < (__force u32)daddr->s6_addr32[0]); in csum_ipv6_magic()
[all …]
Dipv6.h272 return (!!(((a1->s6_addr32[0] ^ a2->s6_addr32[0]) & m->s6_addr32[0]) | in ipv6_masked_addr_cmp()
273 ((a1->s6_addr32[1] ^ a2->s6_addr32[1]) & m->s6_addr32[1]) | in ipv6_masked_addr_cmp()
274 ((a1->s6_addr32[2] ^ a2->s6_addr32[2]) & m->s6_addr32[2]) | in ipv6_masked_addr_cmp()
275 ((a1->s6_addr32[3] ^ a2->s6_addr32[3]) & m->s6_addr32[3]))); in ipv6_masked_addr_cmp()
301 addr->s6_addr32[0] = w1; in ipv6_addr_set()
302 addr->s6_addr32[1] = w2; in ipv6_addr_set()
303 addr->s6_addr32[2] = w3; in ipv6_addr_set()
304 addr->s6_addr32[3] = w4; in ipv6_addr_set()
310 return (((a1->s6_addr32[0] ^ a2->s6_addr32[0]) | in ipv6_addr_equal()
311 (a1->s6_addr32[1] ^ a2->s6_addr32[1]) | in ipv6_addr_equal()
[all …]
Daddrconf.h229 htonl(0xFF000000) | addr->s6_addr32[3]); in addrconf_addr_solict_mult()
234 return (addr->s6_addr32[0] & htonl(0xFF000000)) == htonl(0xFF000000); in ipv6_addr_is_multicast()
239 return (((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_nodes()
240 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_nodes()
241 (addr->s6_addr32[3] ^ htonl(0x00000001))) == 0); in ipv6_addr_is_ll_all_nodes()
246 return (((addr->s6_addr32[0] ^ htonl(0xff020000)) | in ipv6_addr_is_ll_all_routers()
247 addr->s6_addr32[1] | addr->s6_addr32[2] | in ipv6_addr_is_ll_all_routers()
248 (addr->s6_addr32[3] ^ htonl(0x00000002))) == 0); in ipv6_addr_is_ll_all_routers()
255 return ((addr->s6_addr32[2] | htonl(0x02000000)) == htonl(0x02005EFE)); in ipv6_addr_is_isatap()
Dif_inet6.h207 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32)); in ipv6_eth_mc_map()
217 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map()
218 (addr->s6_addr32[2] == 0) && in ipv6_tr_mc_map()
224 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map()
240 (addr->s6_addr32[1] == 0) && in ipv6_tr_mc_map()
241 (addr->s6_addr32[2] == 0) && in ipv6_tr_mc_map()
Dinet6_hashtables.h38 return jhash_3words((__force u32)laddr->s6_addr32[3], in inet6_ehashfn()
39 (__force u32)faddr->s6_addr32[3], in inet6_ehashfn()
/include/linux/
Dmroute6.h233 #define MFC6_HASH(a, g) (((__force u32)(a)->s6_addr32[0] ^ \
234 (__force u32)(a)->s6_addr32[1] ^ \
235 (__force u32)(a)->s6_addr32[2] ^ \
236 (__force u32)(a)->s6_addr32[3] ^ \
237 (__force u32)(g)->s6_addr32[0] ^ \
238 (__force u32)(g)->s6_addr32[1] ^ \
239 (__force u32)(g)->s6_addr32[2] ^ \
240 (__force u32)(g)->s6_addr32[3]) % MFC6_LINES)
Din6.h40 #define s6_addr32 in6_u.u6_addr32 macro
/include/net/sctp/
Dsctp.h683 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4()
691 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6()
692 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6()
693 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6()
694 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
/include/linux/lockd/
Dlockd.h310 return ipv4_is_loopback(sin6->sin6_addr.s6_addr32[3]); in __nlm_privileged_request6()