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,
1351 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, in pf_insert_src_node()
2065 struct pf_rule *cur, *prev, *head[PF_SKIP_COUNT]; in pf_calc_skip_steps()
2664 pf_send_tcp(const struct pf_rule *r, sa_family_t af, in pf_send_tcp()
2840 struct pf_rule *r) in pf_send_icmp()
3073 pf_match_tag(struct pf_rule *r, struct pf_mtag *pf_mtag, in pf_match_tag()
3115 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_into_anchor()
3152 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_out_of_anchor()
3309 pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr, in pf_map_addr()
3519 pf_get_sport(struct pf_pdesc *pd, struct pfi_kif *kif, struct pf_rule *r, in pf_get_sport()
3751 static __attribute__((noinline)) struct pf_rule *
3757 struct pf_rule *__single r, *__single rm = NULL; in pf_match_translation()
3873 static __attribute__((noinline)) struct pf_rule *
3883 struct pf_rule *r = NULL; in pf_get_translation_aux()
4384 struct pf_rule *r = s->rule.ptr; in pf_set_rt_ifp()
4923 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, in pf_test_rule()
4925 struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, in pf_test_rule()
4929 struct pf_rule *__single nr = NULL; in pf_test_rule()
4932 struct pf_rule *__single r, *__single a = NULL; in pf_test_rule()
6217 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_dummynet()
6221 struct pf_rule *__single am = NULL; in pf_test_dummynet()
6225 struct pf_rule *__single r, *__single a = NULL; in pf_test_dummynet()
6236 struct pf_rule *__single prev_matching_rule = fwa ? fwa->fwa_pf_rule : NULL; in pf_test_dummynet()
6494 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_fragment()
6495 pbuf_t *pbuf, void *h, struct pf_pdesc *pd, struct pf_rule **am, in pf_test_fragment()
6499 struct pf_rule *__single r, *__single a = NULL; in pf_test_fragment()
9215 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route()
9417 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6()
9703 …struct pf_rule *__single a = NULL, *__single r = &pf_default_rule, *__single tr, *__singl… in pf_test()
10147 struct pf_rule *lr; in pf_test()
10301 …struct pf_rule *__single a = NULL, *__single r = &pf_default_rule, *__single tr, *__singl… in pf_test6()
10797 struct pf_rule *lr; in pf_test6()
11148 struct pf_rule *rule = NULL; in pf_check_compatible_rules()