Lines Matching refs:pf_rule
177 struct pf_rule *r;
227 static void pf_send_tcp(const struct pf_rule *, sa_family_t,
233 sa_family_t, struct pf_rule *);
234 static struct pf_rule *pf_match_translation(struct pf_pdesc *, pbuf_t *,
238 static struct pf_rule *pf_get_translation_aux(struct pf_pdesc *,
250 static int pf_test_rule(struct pf_rule **, struct pf_state **,
252 void *, struct pf_pdesc *, struct pf_rule **,
255 static int pf_test_dummynet(struct pf_rule **, int,
259 static int pf_test_fragment(struct pf_rule **, int,
261 struct pf_pdesc *, struct pf_rule **,
274 static int pf_match_tag(struct pf_rule *,
278 static int pf_map_addr(u_int8_t, struct pf_rule *,
282 struct pf_rule *, struct pf_addr *,
290 static void pf_route(pbuf_t **, struct pf_rule *, int,
293 static void pf_route6(pbuf_t **, struct pf_rule *, int,
1337 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, in pf_insert_src_node()
2027 struct pf_rule *cur, *prev, *head[PF_SKIP_COUNT]; in pf_calc_skip_steps()
2626 pf_send_tcp(const struct pf_rule *r, sa_family_t af, in pf_send_tcp()
2802 struct pf_rule *r) in pf_send_icmp()
3035 pf_match_tag(struct pf_rule *r, struct pf_mtag *pf_mtag, in pf_match_tag()
3077 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_into_anchor()
3114 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_out_of_anchor()
3271 pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr, in pf_map_addr()
3481 pf_get_sport(struct pf_pdesc *pd, struct pfi_kif *kif, struct pf_rule *r, in pf_get_sport()
3713 static __attribute__((noinline)) struct pf_rule *
3719 struct pf_rule *r, *rm = NULL; in pf_match_translation()
3835 static __attribute__((noinline)) struct pf_rule *
3845 struct pf_rule *r = NULL; in pf_get_translation_aux()
4346 struct pf_rule *r = s->rule.ptr; in pf_set_rt_ifp()
4886 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, in pf_test_rule()
4888 struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, in pf_test_rule()
4892 struct pf_rule *nr = NULL; in pf_test_rule()
4895 struct pf_rule *r, *a = NULL; in pf_test_rule()
6181 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_dummynet()
6185 struct pf_rule *am = NULL; in pf_test_dummynet()
6189 struct pf_rule *r, *a = NULL; in pf_test_dummynet()
6200 struct pf_rule *prev_matching_rule = fwa ? fwa->fwa_pf_rule : NULL; in pf_test_dummynet()
6458 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_fragment()
6459 pbuf_t *pbuf, void *h, struct pf_pdesc *pd, struct pf_rule **am, in pf_test_fragment()
6463 struct pf_rule *r, *a = NULL; in pf_test_fragment()
9180 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route()
9382 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6()
9668 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test()
10112 struct pf_rule *lr; in pf_test()
10266 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test6()
10762 struct pf_rule *lr; in pf_test6()
11107 struct pf_rule *rule = NULL; in pf_check_compatible_rules()