Lines Matching refs:npf_t
46 const char * (*getname)(npf_t *, struct ifnet *);
47 struct ifnet * (*lookup)(npf_t *, const char *);
48 void (*flush)(npf_t *, void *);
49 void * (*getmeta)(npf_t *, const struct ifnet *);
50 void (*setmeta)(npf_t *, struct ifnet *, void *);
54 struct mbuf * (*alloc)(npf_t *, unsigned, size_t);
69 npf_t * npfk_create(int, const npf_mbufops_t *, const npf_ifops_t *, void *);
70 int npfk_load(npf_t *, const void *, npf_error_t *);
71 int npfk_socket_load(npf_t *, int);
72 void npfk_gc(npf_t *);
73 void npfk_destroy(npf_t *);
74 void * npfk_getarg(npf_t *);
76 void npfk_thread_register(npf_t *);
77 void npfk_thread_unregister(npf_t *);
79 int npfk_packet_handler(npf_t *, struct mbuf **, struct ifnet *, int);
80 int npfk_layer2_handler(npf_t *, struct mbuf **, struct ifnet *, int);
82 void npfk_ifmap_attach(npf_t *, struct ifnet *);
83 void npfk_ifmap_detach(npf_t *, struct ifnet *);
85 int npfk_param_get(npf_t *, const char *, int *);
86 int npfk_param_set(npf_t *, const char *, int);
88 void npfk_stats(npf_t *, uint64_t *);
89 void npfk_stats_clear(npf_t *);
95 int npf_ext_log_init(npf_t *);
96 int npf_ext_log_fini(npf_t *);
98 int npf_ext_normalize_init(npf_t *);
99 int npf_ext_normalize_fini(npf_t *);
101 int npf_ext_rndblock_init(npf_t *);
102 int npf_ext_rndblock_fini(npf_t *);
108 int npf_alg_icmp_init(npf_t *);
109 int npf_alg_icmp_fini(npf_t *);
111 int npf_alg_pptp_init(npf_t *);
112 int npf_alg_pptp_fini(npf_t *);