Lines Matching defs:packet
64 /* Simplify allocation by having a netvsc packet inline */
138 * request/response packet types so we just used the SetRequest as a
239 struct hv_netvsc_packet *packet;
241 /* Setup the packet to send it */
242 packet = &Request->Packet;
244 packet->IsDataPacket = false;
245 packet->TotalDataBufferLength = Request->RequestMessage.MessageLength;
246 packet->PageBufferCount = 1;
248 packet->PageBuffers[0].Pfn = virt_to_phys(&Request->RequestMessage) >>
250 packet->PageBuffers[0].Length = Request->RequestMessage.MessageLength;
251 packet->PageBuffers[0].Offset =
254 packet->Completion.Send.SendCompletionContext = Request;/* packet; */
255 packet->Completion.Send.OnSendCompletion =
257 packet->Completion.Send.SendCompletionTid = (unsigned long)Device;
259 ret = gRndisFilter.InnerDriver.OnSend(Device->NetDevice->Device, packet);
854 /* Save the packet send completion and context */