Lines Matching defs:fpe
148 fp_ent_t *fpe;
150 LIST_FOREACH(fpe, &fp_ent_list, fpe_list) {
151 if (fpe->fpe_id == id)
155 return fpe;
206 fp_ent_t *fpe;
209 fpe = proxy_lookup(id);
210 if (fpe) {
212 npf_rule_destroy(fpe->fpe_rl);
213 npf_rule_destroy(fpe->fpe_nat);
214 npf_rule_destroy(fpe->fpe_rdr);
219 fpe = malloc(sizeof(fp_ent_t));
220 if (fpe == NULL)
222 LIST_INSERT_HEAD(&fp_ent_list, fpe, fpe_list);
223 fpe->fpe_id = id;
226 fpe->fpe_rl = NULL;
227 fpe->fpe_nat = NULL;
228 fpe->fpe_rdr = NULL;
236 fp_ent_t *fpe;
244 fpe = proxy_lookup(id);
245 assert(fpe != NULL);
261 assert(fpe->fpe_rl == NULL);
262 fpe->fpe_rl = rl;
275 fp_ent_t *fpe;
283 fpe = proxy_lookup(id);
284 assert(fpe != NULL);
305 assert(fpe->fpe_nat == NULL);
306 fpe->fpe_nat = nt;
319 fp_ent_t *fpe;
327 fpe = proxy_lookup(id);
328 assert(fpe != NULL);
353 assert(fpe->fpe_rdr == NULL);
354 fpe->fpe_rdr = nt;
376 fp_ent_t *fpe;
393 LIST_FOREACH(fpe, &fp_ent_list, fpe_list) {
394 if (fpe->fpe_rl == NULL) {
398 npf_rule_setprio(fpe->fpe_rl, pri++);
399 npf_rule_insert(NULL, group, fpe->fpe_rl);