pfr_setflags_ktables(&workq, 0, PFR_TFLAG_ACTIVE);
pfr_setflags_ktables(&workq);
pfr_clr_tables(int *ndel, int flags){	struct pfr_ktableworkq	 workq;	struct pfr_ktable	*p;	int			 s, xdel = 0;	ACCEPT_FLAGS(PFR_FLAG_ATOMIC+PFR_FLAG_DUMMY);	SLIST_INIT(&workq);	RB_FOREACH(p, pfr_ktablehead, &pfr_ktables) {		if (!(p->pfrkt_flags & PFR_TFLAG_ACTIVE))			continue;		SLIST_INSERT_HEAD(&workq, p, pfrkt_workq);		xdel++;	}	if (!(flags & PFR_FLAG_DUMMY)) {		if (flags & PFR_FLAG_ATOMIC)			s = splsoftnet();		pfr_setflags_ktables(&workq, 0, PFR_TFLAG_ACTIVE);		if (flags & PFR_FLAG_ATOMIC)			splx(s);	}	if (ndel != NULL)		*ndel = xdel;	return (0);}