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

Function find_route4_entry

dpdk/app/graph/ip4_route.c:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static struct route_ipv4_config *
36find_route4_entry(struct route_ipv4_config *route)
37{
38 struct route_ipv4_config *ipv4route;
39
40 TAILQ_FOREACH(ipv4route, &route4, next) {
41 if (!memcmp(ipv4route, route, sizeof(*route)))
42 return ipv4route;
43 }
44 return NULL;
45
46}
47
48static uint8_t
49convert_netmask_to_depth(uint32_t netmask)

Callers 1

route_ip4_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected