Lines Matching refs:header
145 // prepend ethernet header
146 ether_header header;
147 ChainBuffer headerBuffer(&header, sizeof(header), buffer);
148 header.source = fInterface->MACAddress();
149 header.destination = destination;
150 header.type = htons(protocol);
196 ether_header *header = (ether_header*)fReceiveBuffer;
197 if (header->destination != kBroadcastMACAddress
198 && header->destination != fInterface->MACAddress()) {
204 header->destination.ToUInt64(), ntohs(header->type),
211 if (service->EthernetProtocol() == ntohs(header->type)) {
212 service->HandleEthernetPacket(this, header->destination,