Lines Matching refs:rx_elem
68 static struct rx_elem *pktq_in_elem (struct rx_ringbuf *q) LOCKED_FUNC;
69 static struct rx_elem *pktq_out_elem (struct rx_ringbuf *q);
1280 struct rx_elem *tail, *head; in peek_rxbuf()
1306 struct rx_elem *tail = pktq_out_elem (&active_dev->queue); in release_rxbuf()
1341 struct rx_elem *head = pktq_in_elem (&active_dev->queue); in get_rxbuf()
1393 PCAP_ASSERT (size >= sizeof(struct rx_elem) + sizeof(DWORD)); in pktq_init()
1400 struct rx_elem *elem = (struct rx_elem*) pool; in pktq_init()
1440 static struct rx_elem *pktq_in_elem (struct rx_ringbuf *q) in pktq_in_elem()
1442 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->in_index)); in pktq_in_elem()
1448 static struct rx_elem *pktq_out_elem (struct rx_ringbuf *q) in pktq_out_elem()
1450 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->out_index)); in pktq_out_elem()