• Home
  • Raw
  • Download

Lines Matching refs:tmp

798 	struct in6_addr tmp = {};  in lowpan_iphc_compress_ctx_802154_lladdr()  local
804 memcpy(&tmp.s6_addr[8], &extended_addr, EUI64_ADDR_LEN); in lowpan_iphc_compress_ctx_802154_lladdr()
806 tmp.s6_addr[8] ^= 0x02; in lowpan_iphc_compress_ctx_802154_lladdr()
808 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_compress_ctx_802154_lladdr()
809 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_ctx_802154_lladdr()
813 tmp.s6_addr[11] = 0xFF; in lowpan_iphc_compress_ctx_802154_lladdr()
814 tmp.s6_addr[12] = 0xFE; in lowpan_iphc_compress_ctx_802154_lladdr()
815 ieee802154_le16_to_be16(&tmp.s6_addr16[7], in lowpan_iphc_compress_ctx_802154_lladdr()
818 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_compress_ctx_802154_lladdr()
819 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_ctx_802154_lladdr()
836 struct in6_addr tmp = {}; in lowpan_iphc_addr_equal() local
838 lowpan_iphc_uncompress_lladdr(dev, &tmp, lladdr); in lowpan_iphc_addr_equal()
841 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_iphc_addr_equal()
843 return ipv6_addr_equal(&tmp, ipaddr); in lowpan_iphc_addr_equal()
851 struct in6_addr tmp = {}; in lowpan_compress_ctx_addr() local
870 memset(&tmp, 0, sizeof(tmp)); in lowpan_compress_ctx_addr()
872 tmp.s6_addr[11] = 0xFF; in lowpan_compress_ctx_addr()
873 tmp.s6_addr[12] = 0xFE; in lowpan_compress_ctx_addr()
874 memcpy(&tmp.s6_addr[14], &ipaddr->s6_addr[14], 2); in lowpan_compress_ctx_addr()
876 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_compress_ctx_addr()
877 if (ipv6_addr_equal(&tmp, ipaddr)) { in lowpan_compress_ctx_addr()
883 memset(&tmp, 0, sizeof(tmp)); in lowpan_compress_ctx_addr()
885 memcpy(&tmp.s6_addr[8], &ipaddr->s6_addr[8], 8); in lowpan_compress_ctx_addr()
887 ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); in lowpan_compress_ctx_addr()
888 if (ipv6_addr_equal(&tmp, ipaddr)) { in lowpan_compress_ctx_addr()
911 struct in6_addr tmp = {}; in lowpan_iphc_compress_802154_lladdr() local
926 tmp.s6_addr[0] = 0xFE; in lowpan_iphc_compress_802154_lladdr()
927 tmp.s6_addr[1] = 0x80; in lowpan_iphc_compress_802154_lladdr()
928 tmp.s6_addr[11] = 0xFF; in lowpan_iphc_compress_802154_lladdr()
929 tmp.s6_addr[12] = 0xFE; in lowpan_iphc_compress_802154_lladdr()
930 ieee802154_le16_to_be16(&tmp.s6_addr16[7], in lowpan_iphc_compress_802154_lladdr()
932 if (ipv6_addr_equal(&tmp, ipaddr)) in lowpan_iphc_compress_802154_lladdr()