Lines Matching refs:PCAP_ASSERT
233 PCAP_ASSERT (dev->copy_rx_buf || dev->peek_rx_buf); in pcap_read_one()
241 PCAP_ASSERT (dev->release_rx_buf); in pcap_read_one()
457 PCAP_ASSERT (dev->probe); in pcap_lookupdev()
522 PCAP_ASSERT (dev->probe); in pcap_findalldevs()
527 PCAP_ASSERT (dev->close); /* set by probe routine */ in pcap_findalldevs()
605 PCAP_ASSERT (dev->name); in open_driver()
612 PCAP_ASSERT (dev->probe); in open_driver()
634 PCAP_ASSERT (dev->open); in open_driver()
1282 PCAP_ASSERT (pktq_check (&active_dev->queue)); in peek_rxbuf()
1291 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2); in peek_rxbuf()
1308 PCAP_ASSERT (&tail->data[0] == buf); in release_rxbuf()
1393 PCAP_ASSERT (size >= sizeof(struct rx_elem) + sizeof(DWORD)); in pktq_init()
1394 PCAP_ASSERT (num); in pktq_init()
1395 PCAP_ASSERT (pool); in pktq_init()
1404 PCAP_ASSERT (((unsigned)(&elem->data[0]) & 3) == 0); in pktq_init()