Lines Matching defs:destination
49 struct sockaddr_dl& destination = *(struct sockaddr_dl*)buffer->destination;
60 destination.sdl_len = sizeof(sockaddr_dl);
61 destination.sdl_family = AF_LINK;
62 destination.sdl_index = device->index;
63 destination.sdl_type = IFT_ETHER;
64 destination.sdl_e_type = header.type;
65 destination.sdl_nlen = destination.sdl_slen = 0;
66 destination.sdl_alen = ETHER_ADDRESS_LENGTH;
67 memcpy(destination.sdl_data, header.destination, ETHER_ADDRESS_LENGTH);
70 if (!memcmp(header.destination, kBroadcastAddress, ETHER_ADDRESS_LENGTH))
72 else if ((header.destination[0] & 0x01) != 0)
144 struct sockaddr_dl& destination = *(struct sockaddr_dl*)buffer->destination;
158 memcpy(header.destination, kBroadcastAddress, ETHER_ADDRESS_LENGTH);
160 memcpy(header.destination, LLADDR(&destination), ETHER_ADDRESS_LENGTH);