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

Function rib_walk

freebsd/net/route/route_helpers.c:123–129  ·  view source on GitHub ↗

* Calls @wa_f with @arg for each entry in the table specified by * @af and @fibnum. * * Table is traversed under read lock unless @wlock is set. */

Source from the content-addressed store, hash-verified

121 * Table is traversed under read lock unless @wlock is set.
122 */
123void
124rib_walk(uint32_t fibnum, int family, bool wlock, rib_walktree_f_t *wa_f,
125 void *arg)
126{
127
128 rib_walk_ext(fibnum, family, wlock, wa_f, NULL, arg);
129}
130
131/*
132 * Iterates over all existing fibs in system calling

Callers 2

ta_foreach_kfibFunction · 0.85
rtable_sysctl_dumpFunction · 0.85

Calls 1

rib_walk_extFunction · 0.85

Tested by

no test coverage detected