Lines Matching defs:packet
109 // Check whether the current packet already contains the beginning of the
125 UDPPacket *packet;
127 &packet);
132 int16 packetSize = ntohs(((remote_disk_header*)packet->Data())->size);
141 // make the reply packet the current packet
143 fPacket = packet;
145 // read from the packet
216 UDPPacket *packet;
218 &request, sizeof(request), REMOTE_DISK_HELLO_REPLY, &packet);
223 remote_disk_header *reply = (remote_disk_header*)packet->Data();
228 error = remoteDisk->Init(packet->SourceAddress(), ntohs(reply->port),
236 delete packet;
284 UDPPacket *packet;
285 error = socket->Receive(&packet, timeout - system_time());
288 if (packet->DataSize() >= sizeof(remote_disk_header)) {
290 = (remote_disk_header*)packet->Data();
293 *_packet = packet;
299 delete packet;
313 uint8 expectedReply, UDPPacket **packet)
317 expectedReply, packet);