| 136 | } |
| 137 | |
| 138 | static int |
| 139 | rt_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 | |
| 150 | void |
| 151 | rt_table_destroy(struct rib_head *rh) |
nothing calls this directly
no test coverage detected