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

Function rib_walk_ext

freebsd/net/route/route_helpers.c:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void
108rib_walk_ext(uint32_t fibnum, int family, bool wlock, rib_walktree_f_t *wa_f,
109 rib_walk_hook_f_t *hook_f, void *arg)
110{
111 struct rib_head *rnh;
112
113 if ((rnh = rt_tables_get_rnh(fibnum, family)) != NULL)
114 rib_walk_ext_internal(rnh, wlock, wa_f, hook_f, arg);
115}
116
117/*
118 * Calls @wa_f with @arg for each entry in the table specified by

Callers 2

rib_walkFunction · 0.85
rib_foreach_table_walkFunction · 0.85

Calls 2

rt_tables_get_rnhFunction · 0.85
rib_walk_ext_internalFunction · 0.85

Tested by

no test coverage detected