Lines Matching refs:pf_rule

173 	struct pf_rule                          *r;
223 static void pf_send_tcp(const struct pf_rule *, sa_family_t,
229 sa_family_t, struct pf_rule *);
230 static struct pf_rule *pf_match_translation(struct pf_pdesc *, pbuf_t *,
234 static struct pf_rule *pf_get_translation_aux(struct pf_pdesc *,
247 static int pf_test_rule(struct pf_rule **, struct pf_state **,
249 void *, struct pf_pdesc *, struct pf_rule **,
252 static int pf_test_dummynet(struct pf_rule **, int,
256 static int pf_test_fragment(struct pf_rule **, int,
258 struct pf_pdesc *, struct pf_rule **,
271 static int pf_match_tag(struct pf_rule *,
275 static int pf_map_addr(u_int8_t, struct pf_rule *,
279 struct pf_rule *, struct pf_addr *,
287 static void pf_route(pbuf_t **, struct pf_rule *, int,
290 static void pf_route6(pbuf_t **, struct pf_rule *, int,
1317 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, in pf_insert_src_node()
2006 struct pf_rule *cur, *prev, *head[PF_SKIP_COUNT]; in pf_calc_skip_steps()
2569 pf_send_tcp(const struct pf_rule *r, sa_family_t af, in pf_send_tcp()
2745 struct pf_rule *r) in pf_send_icmp()
2978 pf_match_tag(struct pf_rule *r, struct pf_mtag *pf_mtag, in pf_match_tag()
3020 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_into_anchor()
3057 struct pf_rule **r, struct pf_rule **a, int *match) in pf_step_out_of_anchor()
3214 pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr, in pf_map_addr()
3424 pf_get_sport(struct pf_pdesc *pd, struct pfi_kif *kif, struct pf_rule *r, in pf_get_sport()
3656 static __attribute__((noinline)) struct pf_rule *
3662 struct pf_rule *r, *rm = NULL; in pf_match_translation()
3778 static __attribute__((noinline)) struct pf_rule *
3788 struct pf_rule *r = NULL; in pf_get_translation_aux()
4289 struct pf_rule *r = s->rule.ptr; in pf_set_rt_ifp()
4808 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction, in pf_test_rule()
4810 struct pf_pdesc *pd, struct pf_rule **am, struct pf_ruleset **rsm, in pf_test_rule()
4814 struct pf_rule *nr = NULL; in pf_test_rule()
4817 struct pf_rule *r, *a = NULL; in pf_test_rule()
6082 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_dummynet()
6086 struct pf_rule *am = NULL; in pf_test_dummynet()
6090 struct pf_rule *r, *a = NULL; in pf_test_dummynet()
6101 struct pf_rule *prev_matching_rule = fwa ? fwa->fwa_pf_rule : NULL; in pf_test_dummynet()
6355 pf_test_fragment(struct pf_rule **rm, int direction, struct pfi_kif *kif, in pf_test_fragment()
6356 pbuf_t *pbuf, void *h, struct pf_pdesc *pd, struct pf_rule **am, in pf_test_fragment()
6360 struct pf_rule *r, *a = NULL; in pf_test_fragment()
9051 pf_route(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route()
9253 pf_route6(pbuf_t **pbufp, struct pf_rule *r, int dir, struct ifnet *oifp, in pf_route6()
9539 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test()
9982 struct pf_rule *lr; in pf_test()
10136 struct pf_rule *a = NULL, *r = &pf_default_rule, *tr, *nr; in pf_test6()
10632 struct pf_rule *lr; in pf_test6()
10977 struct pf_rule *rule = NULL; in pf_check_compatible_rules()