Home
last modified time | relevance | path

Searched refs:t_lpm (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sys/net/npf/
H A Dnpf_tableset.c87 lpm_t * t_lpm; member
337 lpm_clear(t->t_lpm, NULL, NULL); in table_tree_flush()
380 t->t_lpm = lpm_create(KM_NOSLEEP); in npf_table_create()
381 if (t->t_lpm == NULL) { in npf_table_create()
438 lpm_destroy(t->t_lpm); in npf_table_destroy()
580 if (lpm_lookup(t->t_lpm, addr, alen) == NULL && in npf_table_insert()
581 lpm_insert(t->t_lpm, addr, alen, preflen, ent) == 0) { in npf_table_insert()
640 ent = lpm_lookup(t->t_lpm, addr, alen); in npf_table_remove()
643 lpm_remove(t->t_lpm, &ent->te_addr, in npf_table_remove()
690 found = lpm_lookup(t->t_lpm, addr, alen) != NULL; in npf_table_lookup()