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

Function find_neigh4_entry

dpdk/app/graph/neigh.c:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static struct neigh_ipv4_config *
53find_neigh4_entry(uint32_t ip, uint64_t mac)
54{
55 struct neigh_ipv4_config *v4_config;
56
57 TAILQ_FOREACH(v4_config, &neigh4, next) {
58 if ((v4_config->ip == ip) && (v4_config->mac == mac))
59 return v4_config;
60 }
61 return NULL;
62}
63
64static struct neigh_ipv6_config *
65find_neigh6_entry(uint8_t *ip, uint64_t mac)

Callers 1

neigh_ip4_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected