Lines Matching refs:bpf_d

192 static void	bpfd_ref(struct bpf_d *);
193 static void bpfd_rele(struct bpf_d *);
194 static void bpf_attachd(struct bpf_d *, struct bpf_if *);
195 static void bpf_detachd(struct bpf_d *);
196 static void bpf_detachd_locked(struct bpf_d *, bool);
199 struct sockaddr *, int *, struct bpf_d *);
200 static int bpf_setif(struct bpf_d *, struct ifreq *);
203 bpf_wakeup(struct bpf_d *);
204 static void catchpacket(struct bpf_d *, u_char *, u_int, u_int,
205 void (*)(struct bpf_d *, caddr_t, u_int, void *, u_int),
207 static void reset_d(struct bpf_d *);
208 static int bpf_setf(struct bpf_d *, struct bpf_program *, u_long cmd);
209 static int bpf_getdltlist(struct bpf_d *, struct bpf_dltlist *);
210 static int bpf_setdlt(struct bpf_d *, u_int);
328 bpfd_ref(struct bpf_d *d) in bpfd_ref()
335 bpfd_rele(struct bpf_d *d) in bpfd_rele()
370 bpf_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, void *src, in bpf_append_bytes()
390 bpf_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src, in bpf_append_mbuf()
413 bpf_buf_reclaimed(struct bpf_d *d) in bpf_buf_reclaimed()
437 bpf_canfreebuf(struct bpf_d *d) in bpf_canfreebuf()
455 bpf_canwritebuf(struct bpf_d *d) in bpf_canwritebuf()
472 bpf_buffull(struct bpf_d *d) in bpf_buffull()
488 bpf_bufheld(struct bpf_d *d) in bpf_bufheld()
501 bpf_free(struct bpf_d *d) in bpf_free()
517 bpf_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio) in bpf_uiomove()
526 bpf_ioctl_sblen(struct bpf_d *d, u_int *i) in bpf_ioctl_sblen()
535 bpf_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i) in bpf_ioctl_getzmax()
544 bpf_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz) in bpf_ioctl_rotzbuf()
553 bpf_ioctl_setzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz) in bpf_ioctl_setzbuf()
566 struct sockaddr *sockp, int *hdrlen, struct bpf_d *d) in bpf_movein()
721 bpf_attachd(struct bpf_d *d, struct bpf_if *bp) in bpf_attachd()
781 bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct bpf_insn *fcode, in bpf_check_upgrade()
844 bpf_detachd(struct bpf_d *d) in bpf_detachd()
852 bpf_detachd_locked(struct bpf_d *d, bool detached_ifp) in bpf_detachd_locked()
916 struct bpf_d *d = data; in bpf_dtor()
942 struct bpf_d *d; in bpfopen()
995 struct bpf_d *d; in bpfread()
1129 bpf_wakeup(struct bpf_d *d) in bpf_wakeup()
1148 struct bpf_d *d = (struct bpf_d *)arg; in bpf_timed_out()
1163 bpf_ready(struct bpf_d *d) in bpf_ready()
1183 struct bpf_d *d; in bpfwrite()
1312 reset_d(struct bpf_d *d) in reset_d()
1375 struct bpf_d *d; in bpfioctl()
1945 bpf_setf(struct bpf_d *d, struct bpf_program *fp, u_long cmd) in bpf_setf()
2085 bpf_setif(struct bpf_d *d, struct ifreq *ifr) in bpf_setif()
2140 struct bpf_d *d; in bpfpoll()
2177 struct bpf_d *d; in bpfkqfilter()
2210 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach()
2218 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread()
2242 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfwrite()
2314 struct bpf_d *d; in bpf_tap()
2378 struct bpf_d *d; in bpf_mtap()
2444 struct bpf_d *d; in bpf_mtap2()
2507 bpf_hdrlen(struct bpf_d *d) in bpf_hdrlen()
2573 catchpacket(struct bpf_d *d, u_char *pkt, u_int pktlen, u_int snaplen, in catchpacket()
2574 void (*cpfn)(struct bpf_d *, caddr_t, u_int, void *, u_int), in catchpacket() argument
2739 struct bpf_d *d; in bpfd_free()
2747 d = __containerof(ctx, struct bpf_d, epoch_ctx); in bpfd_free()
2858 struct bpf_d *d; in bpf_ifdetach()
2888 struct bpf_d *d; in bpfdetach()
2927 bpf_getdltlist(struct bpf_d *d, struct bpf_dltlist *bfl) in bpf_getdltlist()
2966 bpf_setdlt(struct bpf_d *d, u_int dlt) in bpf_setdlt()
3023 struct bpf_d *bd; in bpf_zero_counters()
3047 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf()
3087 struct bpf_d *bd; in bpf_stats_sysctl()