| 80 | } |
| 81 | |
| 82 | void pcap_loop_callback(u_char* user, const struct pcap_pkthdr *h, const u_char* bytes) |
| 83 | { |
| 84 | usbtop::UsbBus* bus = (usbtop::UsbBus*) (user); |
| 85 | assert(bus); |
| 86 | bus->push(h, bytes); |
| 87 | } |
| 88 | |
| 89 | void clean_pcap_live(pcap_buses_t const& pcap_hs) |
| 90 | { |