Lines Matching refs:destination
225 ipv4_to_ether_multicast(sockaddr_dl *destination, const sockaddr_in *source)
234 destination->sdl_len = sizeof(sockaddr_dl);
235 destination->sdl_family = AF_LINK;
236 destination->sdl_index = 0;
237 destination->sdl_type = IFT_ETHER;
238 destination->sdl_e_type = htons(ETHER_TYPE_IP);
239 destination->sdl_nlen = destination->sdl_slen = 0;
240 destination->sdl_alen = ETHER_ADDRESS_LENGTH;
242 memcpy(LLADDR(destination) + 2, &source->sin_addr, sizeof(in_addr));
243 uint32 *data = (uint32 *)LLADDR(destination);
347 memcpy(buffer->destination, &hardware_address,
602 // exchange source and destination address
605 memcpy(LLADDR((sockaddr_dl *)buffer->destination), header.hardware_target,
824 // this is a broadcast packet, we don't need to fill in the destination
1022 // Set buffer target and destination address
1030 (sockaddr_in *)buffer->destination);
1031 memcpy(buffer->destination, &multicastDestination,
1034 // Lookup destination (we may need to wait for this)
1036 ((struct sockaddr_in *)buffer->destination)->sin_addr.s_addr);
1039 ((struct sockaddr_in*)buffer->destination)->sin_addr.s_addr,
1056 memcpy(buffer->destination, &entry->hardware_address,
1064 mac_to_string(LLADDR((sockaddr_dl*)buffer->destination))));