Lines Matching refs:mcast
506 addr_comp_mcast(uint8_t *iphc, uint8_t *comp, struct pico_ip6 *mcast)
511 if (IPV6_MCAST_48(mcast->addr)) {
512 comp[0] = mcast->addr[1]; // Copy flags and scope
513 buf_move(&comp[1], &mcast->addr[11], 5); // Copy group identifier
516 } else if (IPV6_MCAST_32(mcast->addr)) {
517 comp[0] = mcast->addr[1]; // Copy flags and scope
518 buf_move(&comp[1], &mcast->addr[13], 3); // Copy group identifier
521 } else if (IPV6_MCAST_8(mcast->addr)) {
522 comp[0] = mcast->addr[15]; // Copy group identifier
526 buf_move(comp, mcast->addr, PICO_SIZE_IP6); // Copy entire address
648 /* Decompresses the IPv6 multicast destination address when the IPHC mcast-flag