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

Function rtfree

freebsd/net/route/route_ctl.c:176–184  ·  view source on GitHub ↗

* Schedule rtentry deletion */

Source from the content-addressed store, hash-verified

174 * Schedule rtentry deletion
175 */
176static void
177rtfree(struct rtentry *rt)
178{
179
180 KASSERT(rt != NULL, ("%s: NULL rt", __func__));
181
182 epoch_call(net_epoch_preempt, destroy_rtentry_epoch,
183 &rt->rt_epoch_ctx);
184}
185
186static struct rib_head *
187get_rnh(uint32_t fibnum, const struct rt_addrinfo *info)

Callers 3

del_routeFunction · 0.85
rib_walk_delFunction · 0.85
rt_delete_unconditionalFunction · 0.85

Calls 1

epoch_callFunction · 0.50

Tested by

no test coverage detected