MCPcopy Create free account
hub / github.com/NetSys/bess / DeInit

Method DeInit

core/drivers/pcap.cc:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void PCAPPort::DeInit() {
58 pcap_handle_.Reset();
59}
60
61int PCAPPort::RecvPackets(queue_t qid, bess::Packet** pkts, int cnt) {
62 if (!pcap_handle_.is_initialized()) {

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected