Lines Matching refs:PCAP_ASSERT
260 PCAP_ASSERT (dev->copy_rx_buf || dev->peek_rx_buf); in pcap_read_one()
268 PCAP_ASSERT (dev->release_rx_buf); in pcap_read_one()
500 PCAP_ASSERT (dev->probe); in pcap_lookupdev()
571 PCAP_ASSERT (dev->probe); in pcap_platform_finddevs()
576 PCAP_ASSERT (dev->close); /* set by probe routine */ in pcap_platform_finddevs()
659 PCAP_ASSERT (dev->name); in open_driver()
666 PCAP_ASSERT (dev->probe); in open_driver()
688 PCAP_ASSERT (dev->open); in open_driver()
1336 PCAP_ASSERT (pktq_check (&active_dev->queue)); in peek_rxbuf()
1345 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2); in peek_rxbuf()
1362 PCAP_ASSERT (&tail->data[0] == buf); in release_rxbuf()
1447 PCAP_ASSERT (size >= sizeof(struct rx_elem) + sizeof(DWORD)); in pktq_init()
1448 PCAP_ASSERT (num); in pktq_init()
1449 PCAP_ASSERT (pool); in pktq_init()
1458 PCAP_ASSERT (((unsigned)(&elem->data[0]) & 3) == 0); in pktq_init()