MCPcopy Create free account
hub / github.com/F-Stack/f-stack / open_single_iface

Function open_single_iface

dpdk/drivers/net/pcap/pcap_ethdev.c:535–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535static int
536open_single_iface(const char *iface, pcap_t **pcap)
537{
538 if (open_iface_live(iface, pcap) < 0) {
539 PMD_LOG(ERR, "Couldn't open interface %s", iface);
540 return -1;
541 }
542
543 return 0;
544}
545
546static int
547open_single_tx_pcap(const char *pcap_filename, pcap_dumper_t **dumper)

Callers 3

eth_dev_startFunction · 0.85
open_rx_tx_ifaceFunction · 0.85
open_ifaceFunction · 0.85

Calls 1

open_iface_liveFunction · 0.85

Tested by

no test coverage detected