Lines Matching refs:pf_rule
178 struct pf_rule *r;
228 static void pf_send_tcp(const struct pf_rule *, sa_family_t,
234 sa_family_t, struct pf_rule *);
235 static struct pf_rule *pf_match_translation(struct pf_pdesc *, pbuf_t *,
239 static struct pf_rule *pf_get_translation_aux(struct pf_pdesc *,
251 static int pf_test_rule(struct pf_rule **, struct pf_state **,
253 void *, struct pf_pdesc *, struct pf_rule **,
256 static int pf_test_dummynet(struct pf_rule **, int,
260 static int pf_test_fragment(struct pf_rule **, int,
262 struct pf_pdesc *, struct pf_rule **,
275 static int pf_match_tag(struct pf_rule *,
279 static int pf_map_addr(u_int8_t, struct pf_rule *,
283 struct pf_rule *, struct pf_addr *,
291 static void pf_route(pbuf_t **, struct pf_rule *, int,
294 static void pf_route6(pbuf_t **, struct pf_rule *, int,
1370 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, in pf_insert_src_node()
2084 struct pf_rule *cur, *prev, *head[PF_SKIP_COUNT]; in pf_calc_skip_steps()
2683 pf_send_tcp(const struct pf_rule *r, sa_family_t af, in pf_send_tcp()
2859 struct pf_rule *r) in pf_send_icmp()
3092 pf_match_tag(struct pf_rule *r, struct pf_mtag *pf_mtag, in pf_match_tag()
3134 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_into_anchor()
3171 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_out_of_anchor()
3328 pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr, in pf_map_addr()
3538 pf_get_sport(struct pf_pdesc *pd, struct pfi_kif *kif, struct pf_rule *r, in pf_get_sport()
3770 static __attribute__((noinline)) struct pf_rule *
3776 struct pf_rule *r, *rm = NULL; in pf_match_translation()
3892 static __attribute__((noinline)) struct pf_rule *
3902 struct pf_rule *r = NULL; in pf_get_translation_aux()
4403 struct pf_rule *r = s->rule.ptr; in pf_set_rt_ifp()
4942 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, in pf_test_rule()
4944 struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, in pf_test_rule()
4948 struct pf_rule *nr = NULL; in pf_test_rule()
4951 struct pf_rule *r, *a = NULL; in pf_test_rule()
6237 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_dummynet()
6241 struct pf_rule *am = NULL; in pf_test_dummynet()
6245 struct pf_rule *r, *a = NULL; in pf_test_dummynet()
6256 struct pf_rule *prev_matching_rule = fwa ? fwa->fwa_pf_rule : NULL; in pf_test_dummynet()
6514 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_fragment()
6515 pbuf_t *pbuf, void *h, struct pf_pdesc *pd, struct pf_rule **am, in pf_test_fragment()
6519 struct pf_rule *r, *a = NULL; in pf_test_fragment()
9234 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route()
9436 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6()
9722 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test()
10166 struct pf_rule *lr; in pf_test()
10320 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test6()
10816 struct pf_rule *lr; in pf_test6()
11168 struct pf_rule *rule = NULL; in pf_check_compatible_rules()