Lines Matching refs:pf_state

243 			    struct pf_state *, int);
244 static void pf_detach_state(struct pf_state *, int);
246 static int pf_test_rule(struct pf_rule **, struct pf_state **,
259 static int pf_test_state_tcp(struct pf_state **, int,
262 static int pf_test_state_udp(struct pf_state **, int,
265 static int pf_test_state_icmp(struct pf_state **, int,
268 static int pf_test_state_other(struct pf_state **, int,
283 struct ifnet *, struct pf_state *,
287 struct ifnet *, struct pf_state *,
296 static void pf_set_rt_ifp(struct pf_state *,
302 static struct pf_state *pf_find_state(struct pfi_kif *,
304 static int pf_src_connlimit(struct pf_state **);
305 static void pf_stateins_err(const char *, struct pf_state *,
312 static void pf_pptp_handler(struct pf_state *, int, int,
314 static void pf_pptp_unlink(struct pf_state *);
315 static void pf_grev1_unlink(struct pf_state *);
316 static int pf_test_state_grev1(struct pf_state **, int,
320 static int pf_test_state_esp(struct pf_state **, int,
376 pf_state_lookup_aux(struct pf_state **state, struct pfi_kif *kif,
460 static __inline int pf_state_compare_id(struct pf_state *,
461 struct pf_state *);
473 RB_GENERATE(pf_state_tree_id, pf_state,
1066 pf_state_compare_id(struct pf_state *a, struct pf_state *b)
1100 struct pf_state *
1106 (struct pf_state *)(void *)key));
1109 static struct pf_state *
1113 struct pf_state *s;
1139 struct pf_state *
1143 struct pf_state *s, *ret = NULL;
1203 pf_src_connlimit(struct pf_state **state)
1262 struct pf_state *st;
1368 pf_stateins_err(const char *tree, struct pf_state *s, struct pfi_kif *kif)
1407 pf_insert_state(struct pfi_kif *kif, struct pf_state *s)
1410 struct pf_state *sp;
1538 pf_state_expires(const struct pf_state *state)
1602 pf_src_tree_remove_state(struct pf_state *s)
1634 pf_unlink_state(struct pf_state *cur)
1661 pf_free_state(struct pf_state *cur)
1700 static struct pf_state *cur = NULL;
1701 struct pf_state *next;
1858 pf_print_state(struct pf_state *s)
3205 struct pf_state *s;
3228 struct pf_state* s;
3884 pf_set_rt_ifp(struct pf_state *s, struct pf_addr *saddr)
3910 pf_attach_state(struct pf_state_key *sk, struct pf_state *s, int tail)
3923 pf_detach_state(struct pf_state *s, int flags)
3946 pf_alloc_state_key(struct pf_state *s, struct pf_state_key *psk)
4003 pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction,
4718 struct pf_state *s = NULL;
4739 struct pf_state *s0;
5445 pf_pptp_handler(struct pf_state *s, int direction, int off,
5453 struct pf_state *gs;
5753 pf_pptp_unlink(struct pf_state *s)
5756 struct pf_state *grev1s = as->u.pptp.grev1_state;
5769 pf_grev1_unlink(struct pf_state *s)
5772 struct pf_state *pptps = as->u.grev1.pptp_state;
5790 pf_test_state_tcp(struct pf_state **state, int direction, struct pfi_kif *kif,
6314 pf_test_state_udp(struct pf_state **state, int direction, struct pfi_kif *kif,
6458 pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif,
7125 pf_test_state_grev1(struct pf_state **state, int direction,
7226 pf_test_state_esp(struct pf_state **state, int direction, struct pfi_kif *kif,
7252 struct pf_state *s;
7384 pf_test_state_other(struct pf_state **state, int direction, struct pfi_kif *kif,
7612 struct pf_state *s, struct pf_pdesc *pd)
7827 struct pf_state *s, struct pf_pdesc *pd)
8057 struct pf_state *s = NULL;
8591 struct pf_state *s = NULL;