Home | History | Annotate | Download | only in libpcap

Lines Matching refs:queue

201  * Poll the receiver queue and call the pcap callback-handler
236 /* If driver has a zero-copy receive facility, peek at the queue,
359 p->md.stat.ps_ifdrop = stats->rx_dropped + /* queue full */
791 pktq_init (&dev->queue, RECEIVE_BUF_SIZE, RECEIVE_QUEUE_SIZE, rx_pool);
1275 * NOTE: the queue-element is not copied, only a pointer is
1282 PCAP_ASSERT (pktq_check (&active_dev->queue));
1285 tail = pktq_out_elem (&active_dev->queue);
1286 head = pktq_in_elem (&active_dev->queue);
1291 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2);
1306 struct rx_elem *tail = pktq_out_elem (&active_dev->queue);
1312 pktq_inc_out (&active_dev->queue);
1327 idx = pktq_in_index (&active_dev->queue);
1339 if (idx != active_dev->queue.out_index)
1341 struct rx_elem *head = pktq_in_elem (&active_dev->queue);
1344 active_dev->queue.in_index = idx;
1350 queue);
1355 * Simple ring-buffer queue handler for reception of packets
1413 * Increment the queue 'out_index' (tail).
1425 * Return the queue's next 'in_index' (head).
1438 * Return the queue's head-buffer.
1446 * Return the queue's tail-buffer.
1454 * Clear the queue ring-buffer by setting head=tail.