Home | History | Annotate | Download | only in libpcap

Lines Matching full:packet

69 	bpf_u_int32	bh_datalen;	/* original length of packet */
126 if(PacketReceivePacket(p->adapter,p->Packet,TRUE)==FALSE){
131 cc = p->Packet->ulBytesReceived;
133 bp = p->Packet->Buffer;
139 * Loop through each packet.
207 if(PacketReceivePacket(p->adapter, p->Packet, TRUE)==FALSE){
212 cc = p->Packet->ulBytesReceived;
235 /* Find the beginning of the packet */
238 /* Determine actual packet len */
318 /* Move to next packet */
331 /* Move to next packet */
348 /* Send a packet to the network */
386 if (p->Packet) {
387 PacketFreePacket(p->Packet);
388 p->Packet = NULL;
532 /* allocate Packet structure used during the capture */
533 if((p->Packet = PacketAllocatePacket())==NULL)
535 snprintf(ebuf, PCAP_ERRBUF_SIZE, "failed to allocate the PACKET structure");
552 PacketInitPacket(p->Packet,(BYTE*)p->buffer,p->bufsize);
611 /* Set the length of the FCS associated to any packet. This value
612 * will be subtracted to the packet length */
652 if(p->Packet)
653 PacketFreePacket(p->Packet);