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

Function rt_freeentry

freebsd/net/route.c:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138static int
139rt_freeentry(struct radix_node *rn, void *arg)
140{
141 struct radix_head * const rnh = arg;
142 struct radix_node *x;
143
144 x = (struct radix_node *)rn_delete(rn + 2, NULL, rnh);
145 if (x != NULL)
146 R_Free(x);
147 return (0);
148}
149
150void
151rt_table_destroy(struct rib_head *rh)

Callers

nothing calls this directly

Calls 1

rn_deleteFunction · 0.85

Tested by

no test coverage detected