Lines Matching refs:UNALIGNED_GET
681 return UNALIGNED_GET(&addr->s6_addr32[0]) == 0 && in net_ipv6_is_addr_loopback()
682 UNALIGNED_GET(&addr->s6_addr32[1]) == 0 && in net_ipv6_is_addr_loopback()
683 UNALIGNED_GET(&addr->s6_addr32[2]) == 0 && in net_ipv6_is_addr_loopback()
684 ntohl(UNALIGNED_GET(&addr->s6_addr32[3])) == 1; in net_ipv6_is_addr_loopback()
825 return UNALIGNED_GET(&addr->s_addr) == 0; in net_ipv4_is_addr_unspecified()
837 return (ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xF0000000) == 0xE0000000; in net_ipv4_is_addr_mcast()
849 return (ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xFFFF0000) == 0xA9FE0000; in net_ipv4_is_ll_addr()
865 masked_24 = ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xFFFFFF00; in net_ipv4_is_private_addr()
889 UNALIGNED_PUT(UNALIGNED_GET(src), dest)
926 return UNALIGNED_GET(&addr1->s_addr) == UNALIGNED_GET(&addr2->s_addr); in net_ipv4_addr_cmp()
982 return UNALIGNED_GET(&addr->s6_addr16[0]) == htons(0xFE80); in net_ipv6_is_ll_addr()
994 return UNALIGNED_GET(&addr->s6_addr16[0]) == htons(0xFEC0); in net_ipv6_is_sl_addr()
1035 masked_32 = ntohl(UNALIGNED_GET(&addr->s6_addr32[0])); in net_ipv6_is_private_addr()
1147 return UNALIGNED_GET(&addr->s6_addr32[0]) == 0 && in net_ipv6_is_addr_unspecified()
1148 UNALIGNED_GET(&addr->s6_addr32[1]) == 0 && in net_ipv6_is_addr_unspecified()
1149 UNALIGNED_GET(&addr->s6_addr32[2]) == 0 && in net_ipv6_is_addr_unspecified()
1150 UNALIGNED_GET(&addr->s6_addr32[3]) == 0; in net_ipv6_is_addr_unspecified()
1163 return UNALIGNED_GET(&addr->s6_addr32[0]) == htonl(0xff020000) && in net_ipv6_is_addr_solicited_node()
1164 UNALIGNED_GET(&addr->s6_addr32[1]) == 0x00000000 && in net_ipv6_is_addr_solicited_node()
1165 UNALIGNED_GET(&addr->s6_addr32[2]) == htonl(0x00000001) && in net_ipv6_is_addr_solicited_node()
1166 ((UNALIGNED_GET(&addr->s6_addr32[3]) & htonl(0xff000000)) == in net_ipv6_is_addr_solicited_node()
1297 return UNALIGNED_GET(&addr->s6_addr16[1]) == group->s6_addr16[1] && in net_ipv6_is_addr_mcast_group()
1298 UNALIGNED_GET(&addr->s6_addr16[2]) == group->s6_addr16[2] && in net_ipv6_is_addr_mcast_group()
1299 UNALIGNED_GET(&addr->s6_addr16[3]) == group->s6_addr16[3] && in net_ipv6_is_addr_mcast_group()
1300 UNALIGNED_GET(&addr->s6_addr32[1]) == group->s6_addr32[1] && in net_ipv6_is_addr_mcast_group()
1301 UNALIGNED_GET(&addr->s6_addr32[2]) == group->s6_addr32[1] && in net_ipv6_is_addr_mcast_group()
1302 UNALIGNED_GET(&addr->s6_addr32[3]) == group->s6_addr32[3]; in net_ipv6_is_addr_mcast_group()
1377 UNALIGNED_PUT(UNALIGNED_GET(&src->s6_addr16[7]), &dst->s6_addr16[7]); in net_ipv6_addr_create_solicited_node()
1452 if (UNALIGNED_GET(&addr->s6_addr32[0]) == 0 && in net_ipv6_addr_is_v4_mapped()
1453 UNALIGNED_GET(&addr->s6_addr32[1]) == 0 && in net_ipv6_addr_is_v4_mapped()
1454 UNALIGNED_GET(&addr->s6_addr16[5]) == 0xffff) { in net_ipv6_addr_is_v4_mapped()