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

Function rn_freeentry

freebsd/net/radix.c:1160–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1158}
1159
1160static int
1161rn_freeentry(struct radix_node *rn, void *arg)
1162{
1163 struct radix_head * const rnh = arg;
1164 struct radix_node *x;
1165
1166 x = (struct radix_node *)rn_delete(rn + 2, NULL, rnh);
1167 if (x != NULL)
1168 R_Free(x);
1169 return (0);
1170}
1171
1172int
1173rn_detachhead(void **head)

Callers

nothing calls this directly

Calls 1

rn_deleteFunction · 0.85

Tested by

no test coverage detected