Lines Matching refs:packet

54 	// slots in the fragment packet's hash
430 panic("ipv4 packet reassembly did not work correctly.");
442 FragmentPacket* packet = (FragmentPacket*)data;
443 TRACE("Assembling FragmentPacket %p timed out!", packet);
446 sFragmentHash.Remove(packet);
449 if (!packet->fFragments.IsEmpty()) {
451 sDomain->module->error_reply(NULL, packet->fFragments.First(),
455 delete packet;
534 \return B_OK if everything went well; if it could reassemble the packet, \a _buffer
553 FragmentPacket* packet = sFragmentHash.Lookup(key);
554 if (packet == NULL) {
555 // New fragment packet
556 packet = new (std::nothrow) FragmentPacket(key);
557 if (packet == NULL)
560 // add packet to hash
561 status = sFragmentHash.Insert(packet);
563 delete packet;
580 status = packet->AddFragment(start, end, buffer, lastFragment);
584 if (packet->IsComplete()) {
585 sFragmentHash.Remove(packet);
586 // no matter if reassembling succeeds, we won't need this packet
589 status = packet->Reassemble(buffer);
590 delete packet;
596 // This indicates that the packet is not yet complete
1566 // copy an IP multicast packet to the input queue of the loopback
1603 // we need to fragment the packet
1769 // test if the packet is really for us
1793 TRACE(" ipv4_receive_data(): packet was not for us %x -> %x",
1822 // buffer was put into fragment packet
1843 // no handler for this packet
1890 // We do not check the packet length, as we usually only get a part of it
1912 // test if the packet is really from us
1915 TRACE(" ipv4_error_received(): packet was not for us %x -> %x",