Lines Matching refs:pmd
215 struct prefix_match_data *pmd; in htable_prefix_free_cb() local
217 pmd = (struct prefix_match_data *)farg; in htable_prefix_free_cb()
219 if (llt->llt_match_prefix(pmd->addr, pmd->mask, pmd->flags, lle)) { in htable_prefix_free_cb()
221 LIST_INSERT_HEAD(&pmd->dchain, lle, lle_chain); in htable_prefix_free_cb()
232 struct prefix_match_data pmd; in htable_prefix_free() local
234 bzero(&pmd, sizeof(pmd)); in htable_prefix_free()
235 pmd.addr = addr; in htable_prefix_free()
236 pmd.mask = mask; in htable_prefix_free()
237 pmd.flags = flags; in htable_prefix_free()
238 LIST_INIT(&pmd.dchain); in htable_prefix_free()
242 lltable_foreach_lle(llt, htable_prefix_free_cb, &pmd); in htable_prefix_free()
244 llentries_unlink(llt, &pmd.dchain); in htable_prefix_free()
247 LIST_FOREACH_SAFE(lle, &pmd.dchain, lle_chain, next) in htable_prefix_free()