Searched refs:pf_kstate (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 126 static int pfsync_upd_tcp(struct pf_kstate *, struct pfsync_state_peer *, 159 void (*write)(struct pf_kstate *, void *); 177 static void pfsync_out_state_1301(struct pf_kstate *, void *); 178 static void pfsync_out_state_1400(struct pf_kstate *, void *); 179 static void pfsync_out_iack(struct pf_kstate *, void *); 180 static void pfsync_out_upd_c(struct pf_kstate *, void *); 181 static void pfsync_out_del_c(struct pf_kstate *, void *); 208 static void pfsync_q_ins(struct pf_kstate *, int sync_state, bool); 209 static void pfsync_q_del(struct pf_kstate *, bool, struct pfsync_bucket *); 211 static void pfsync_update_state(struct pf_kstate *); [all …]
|
H A D | pflow.c | 99 const struct pf_kstate *, struct pf_state_key *, int, int); 101 struct pflow_ipfix_flow4 *, const struct pf_kstate *, struct pf_state_key *, 104 struct pflow_ipfix_flow6 *, const struct pf_kstate *, struct pf_state_key *, 106 static int pflow_pack_flow(const struct pf_kstate *, struct pf_state_key *, 108 static int pflow_pack_flow_ipfix(const struct pf_kstate *, struct pf_state_key *, 110 static void export_pflow(const struct pf_kstate *); 111 static int export_pflow_if(const struct pf_kstate*, struct pf_state_key *, 119 const struct pf_kstate *, struct pflow_softc *, 626 const struct pf_kstate *st, struct pf_state_key *sk, int src, int dst) in copy_flow_data() 663 struct pflow_ipfix_flow4 *flow2, const struct pf_kstate *st, in copy_flow_ipfix_4_data() [all …]
|
H A D | pf.c | 296 static void pf_src_tree_remove_state(struct pf_kstate *); 315 static void pf_detach_state(struct pf_kstate *); 317 struct pf_state_key *, struct pf_kstate *); 318 static void pf_state_key_detach(struct pf_kstate *, int); 323 static int pf_dummynet(struct pf_pdesc *, struct pf_kstate *, 326 struct pf_kstate *, struct pf_krule *, 330 static int pf_test_rule(struct pf_krule **, struct pf_kstate **, 338 struct pf_kstate **, int, u_int16_t, u_int16_t, 342 static int pf_tcp_track_full(struct pf_kstate **, 344 static int pf_tcp_track_sloppy(struct pf_kstate **, [all …]
|
H A D | pf_nv.h | 85 nvlist_t *pf_state_to_nvstate(const struct pf_kstate *);
|
H A D | pf_ioctl.c | 2279 struct pf_kstate *s; in pf_kill_matching_state() 2298 struct pf_kstate *s; in pf_killstates_row() 3871 struct pf_kstate *s; in pfioctl() 3893 struct pf_kstate *s; in pfioctl() 3967 struct pf_kstate *s; in pfioctl() 4069 struct pf_kstate *state; in pfioctl() 5571 pfsync_state_export(union pfsync_state_union *sp, struct pf_kstate *st, int msg_version) in pfsync_state_export() 5658 pf_state_export(struct pf_state_export *sp, struct pf_kstate *st) in pf_state_export() 5893 struct pf_kstate *s; in pf_clear_all_states() 5959 struct pf_kstate *s; in pf_kill_srcnodes() [all …]
|
H A D | pf_nl.c | 143 dump_state(struct nlpcb *nlp, const struct nlmsghdr *hdr, struct pf_kstate *s, in dump_state() 236 struct pf_kstate *s; in handle_dumpstates() 287 struct pf_kstate *s; in handle_getstate() 351 struct pf_kstate *s; in pf_handle_getcreators() 1265 struct pf_kstate *state; in pf_handle_natlook()
|
H A D | pf_norm.c | 1495 pf_normalize_tcp_cleanup(struct pf_kstate *state) in pf_normalize_tcp_cleanup() 1524 u_short *reason, struct tcphdr *th, struct pf_kstate *state, in pf_normalize_tcp_stateful()
|
H A D | pf_nv.c | 929 pf_state_to_nvstate(const struct pf_kstate *s) in pf_state_to_nvstate()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 364 struct pf_kstate *_s = (s); \ 371 struct pf_kstate *_s = (s); \ 384 struct pf_kstate *_s = (s); \ 980 TAILQ_HEAD(, pf_kstate) states[2]; 1063 struct pf_kstate { struct 1081 TAILQ_ENTRY(pf_kstate) sync_list; argument 1082 TAILQ_ENTRY(pf_kstate) key_list[2]; 1083 LIST_ENTRY(pf_kstate) entry; 1113 _Static_assert(sizeof(struct pf_kstate) <= 372, "pf_kstate size crosses 372 bytes"); argument 1219 typedef void pfsync_insert_state_t(struct pf_kstate *); [all …]
|