Lines Matching refs:PCAP_ASSERT
247 PCAP_ASSERT (dev->copy_rx_buf || dev->peek_rx_buf); in pcap_read_one()
255 PCAP_ASSERT (dev->release_rx_buf); in pcap_read_one()
477 PCAP_ASSERT (dev->probe); in pcap_lookupdev()
542 PCAP_ASSERT (dev->probe); in pcap_findalldevs()
547 PCAP_ASSERT (dev->close); /* set by probe routine */ in pcap_findalldevs()
627 PCAP_ASSERT (dev->name); in open_driver()
634 PCAP_ASSERT (dev->probe); in open_driver()
656 PCAP_ASSERT (dev->open); in open_driver()
1304 PCAP_ASSERT (pktq_check (&active_dev->queue)); in peek_rxbuf()
1313 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2); in peek_rxbuf()
1330 PCAP_ASSERT (&tail->data[0] == buf); in release_rxbuf()
1415 PCAP_ASSERT (size >= sizeof(struct rx_elem) + sizeof(DWORD)); in pktq_init()
1416 PCAP_ASSERT (num); in pktq_init()
1417 PCAP_ASSERT (pool); in pktq_init()
1426 PCAP_ASSERT (((unsigned)(&elem->data[0]) & 3) == 0); in pktq_init()