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

Function rx_iface_args_process

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

Source from the content-addressed store, hash-verified

1148}
1149
1150static inline int
1151rx_iface_args_process(const char *key, const char *value, void *extra_args)
1152{
1153 if (strcmp(key, ETH_PCAP_RX_IFACE_ARG) == 0 ||
1154 strcmp(key, ETH_PCAP_RX_IFACE_IN_ARG) == 0)
1155 return open_rx_iface(key, value, extra_args);
1156
1157 return 0;
1158}
1159
1160/*
1161 * Opens a NIC for writing packets to it

Callers

nothing calls this directly

Calls 2

strcmpFunction · 0.85
open_rx_ifaceFunction · 0.85

Tested by

no test coverage detected