| 533 | } |
| 534 | |
| 535 | static int |
| 536 | open_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 | |
| 546 | static int |
| 547 | open_single_tx_pcap(const char *pcap_filename, pcap_dumper_t **dumper) |
no test coverage detected