Lines Matching refs:npf_cache_t
162 bool (*match)(npf_cache_t *, npf_nat_t *, int);
163 bool (*translate)(npf_cache_t *, npf_nat_t *, npf_flow_t);
164 npf_conn_t * (*inspect)(npf_cache_t *, int);
277 bool (*proc)(npf_cache_t *, void *, const npf_match_info_t *, int *);
342 int npf_cache_all(npf_cache_t *);
343 void npf_recache(npf_cache_t *);
344 int npf_cache_ether(npf_cache_t *);
346 bool npf_rwrip(const npf_cache_t *, u_int, const npf_addr_t *);
347 bool npf_rwrport(const npf_cache_t *, u_int, const in_port_t);
348 bool npf_rwrcksum(const npf_cache_t *, u_int,
350 int npf_napt_rwr(const npf_cache_t *, u_int, const npf_addr_t *,
352 int npf_npt66_rwr(const npf_cache_t *, u_int, const npf_addr_t *,
368 int npf_tcpsaw(const npf_cache_t *, tcp_seq *, tcp_seq *,
370 bool npf_fetch_tcpopts(npf_cache_t *, uint16_t *, int *);
371 bool npf_set_mss(npf_cache_t *, uint16_t, uint16_t *, uint16_t *,
373 bool npf_return_block(npf_cache_t *, const int);
378 void npf_bpf_prepare(npf_cache_t *, bpf_args_t *, uint32_t *);
431 npf_rule_t * npf_ruleset_inspect(npf_cache_t *, const npf_ruleset_t *,
434 int npf_rule_reverse(npf_cache_t *, npf_match_info_t *, int);
446 int npf_socket_lookup_rid(npf_cache_t *, get_rid_t, uint32_t *, int);
448 int npf_rule_match_rid(npf_rule_t *, npf_cache_t *, int);
465 bool npf_rproc_run(npf_cache_t *, npf_rproc_t *,
472 bool npf_state_init(npf_cache_t *, npf_state_t *);
473 bool npf_state_inspect(npf_cache_t *, npf_state_t *, npf_flow_t);
478 bool npf_state_tcp(npf_cache_t *, npf_state_t *, npf_flow_t);
510 int npf_do_nat(npf_cache_t *, npf_conn_t *, const unsigned);
511 npf_nat_t * npf_nat_share_policy(npf_cache_t *, npf_conn_t *, npf_nat_t *);
531 bool npf_alg_match(npf_cache_t *, npf_nat_t *, int);
532 void npf_alg_exec(npf_cache_t *, npf_nat_t *, const npf_flow_t);
533 npf_conn_t * npf_alg_conn(npf_cache_t *, int);