Home
last modified time | relevance | path

Searched refs:s6_addr (Results 1 – 6 of 6) sorted by relevance

/include/net/
D6lowpan.h192 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui64_lladdr()
193 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui64_lladdr()
194 memcpy(&ipaddr->s6_addr[8], lladdr, EUI64_ADDR_LEN); in lowpan_iphc_uncompress_eui64_lladdr()
198 ipaddr->s6_addr[8] ^= 0x02; in lowpan_iphc_uncompress_eui64_lladdr()
208 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui48_lladdr()
209 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui48_lladdr()
210 memcpy(&ipaddr->s6_addr[8], lladdr, 3); in lowpan_iphc_uncompress_eui48_lladdr()
211 ipaddr->s6_addr[11] = 0xFF; in lowpan_iphc_uncompress_eui48_lladdr()
212 ipaddr->s6_addr[12] = 0xFE; in lowpan_iphc_uncompress_eui48_lladdr()
213 memcpy(&ipaddr->s6_addr[13], lladdr + 3, 3); in lowpan_iphc_uncompress_eui48_lladdr()
Dipv6.h122 ((a)->s6_addr[1] & 0x0f) /* nonstandard */
134 ((a)->s6_addr[1] & 0x10)
136 ((a)->s6_addr[1] & 0x20)
138 ((a)->s6_addr[1] & 0x40)
523 memset(pfx->s6_addr, 0, sizeof(pfx->s6_addr)); in ipv6_addr_prefix()
524 memcpy(pfx->s6_addr, addr, o); in ipv6_addr_prefix()
526 pfx->s6_addr[o] = addr->s6_addr[o] & (0xff00 >> b); in ipv6_addr_prefix()
537 memcpy(addr->s6_addr, pfx, o); in ipv6_addr_prefix_copy()
539 addr->s6_addr[o] &= ~(0xff00 >> b); in ipv6_addr_prefix_copy()
540 addr->s6_addr[o] |= (pfx->s6_addr[o] & (0xff00 >> b)); in ipv6_addr_prefix_copy()
Dif_inet6.h248 memcpy(buf + 10, addr->s6_addr + 6, 10); in ipv6_ib_mc_map()
Daddrconf.h508 (addr->s6_addr[12] ^ 0xff)) == 0; in ipv6_addr_is_solict_mult()
/include/rdma/
Dib_addr.h170 memcpy(&out_in->sin6_addr.s6_addr, gid->raw, 16); in rdma_gid2ip()
257 memcpy(mac, &addr->s6_addr[8], 3); in rdma_get_ll_mac()
258 memcpy(mac + 3, &addr->s6_addr[13], 3); in rdma_get_ll_mac()
266 if (addr->s6_addr[0] == 0xff) in rdma_is_multicast_addr()
280 mac[i] = addr->s6_addr[i + 10]; in rdma_get_mcast_mac()
/include/uapi/linux/
Din6.h41 #define s6_addr in6_u.u6_addr8 macro