Lines Matching defs:destination
182 ipv6_to_ether_multicast(sockaddr_dl* destination, const sockaddr_in6* source)
185 // take the last 32 bits of the destination IPv6 address,
186 // prepend 33-33- and use that as the destination Ethernet address.
188 destination->sdl_len = sizeof(sockaddr_dl);
189 destination->sdl_family = AF_LINK;
190 destination->sdl_index = 0;
191 destination->sdl_type = IFT_ETHER;
192 destination->sdl_e_type = htons(ETHER_TYPE_IPV6);
193 destination->sdl_nlen = destination->sdl_slen = 0;
194 destination->sdl_alen = ETHER_ADDRESS_LENGTH;
196 destination->sdl_data[0] = 0x33;
197 destination->sdl_data[1] = 0x33;
198 memcpy(&destination->sdl_data[2], &source->sin6_addr.s6_addr[12], 4);
376 memcpy(buffer->destination, &hardware_address,
716 // fix source and destination address
718 sockaddr_in6* destination = (sockaddr_in6*)buffer->destination;
719 memcpy(&destination->sin6_addr, &source->sin6_addr, sizeof(in6_addr));
931 sockaddr_in6* destination = (sockaddr_in6*)buffer->destination;
932 ipv6_to_solicited_multicast(destination, address);
1032 (sockaddr_in6*)buffer->destination);
1033 memcpy(buffer->destination, &multicastDestination,
1038 // Lookup destination (we may need to wait for this)
1040 ((struct sockaddr_in6*)buffer->destination)->sin6_addr);
1043 ((struct sockaddr_in6*)buffer->destination)->sin6_addr, &entry);
1058 memcpy(buffer->destination, &entry->hardware_address,
1125 route.destination = (sockaddr*)&socketAddress;
1143 route.destination = (sockaddr*)&socketAddress;