| 781 | } |
| 782 | |
| 783 | void |
| 784 | pf_unlink_src_node(struct pf_ksrc_node *src) |
| 785 | { |
| 786 | |
| 787 | PF_HASHROW_ASSERT(&V_pf_srchash[pf_hashsrc(&src->addr, src->af)]); |
| 788 | LIST_REMOVE(src, entry); |
| 789 | if (src->rule.ptr) |
| 790 | counter_u64_add(src->rule.ptr->src_nodes, -1); |
| 791 | } |
| 792 | |
| 793 | u_int |
| 794 | pf_free_src_nodes(struct pf_ksrc_node_list *head) |
no test coverage detected