Lines Matching defs: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);
282 * 2. An userland application uses ioctl() call to bpf_d descriptor.
287 * Destroying of bpf_d descriptor also is doing using NET_EPOCH_CALL().
289 * 3. An userland application can write packets into bpf_d descriptor.
294 * be safe to make access to bpf_d descriptor inside the section.
328 bpfd_ref(struct bpf_d *d)
335 bpfd_rele(struct bpf_d *d)
370 bpf_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, void *src,
390 bpf_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src,
413 bpf_buf_reclaimed(struct bpf_d *d)
437 bpf_canfreebuf(struct bpf_d *d)
455 bpf_canwritebuf(struct bpf_d *d)
472 bpf_buffull(struct bpf_d *d)
488 bpf_bufheld(struct bpf_d *d)
501 bpf_free(struct bpf_d *d)
517 bpf_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio)
526 bpf_ioctl_sblen(struct bpf_d *d, u_int *i)
535 bpf_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i)
544 bpf_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
553 bpf_ioctl_setzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
566 struct sockaddr *sockp, int *hdrlen, struct bpf_d *d)
721 bpf_attachd(struct bpf_d *d, struct bpf_if *bp)
781 bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct bpf_insn *fcode,
844 bpf_detachd(struct bpf_d *d)
852 bpf_detachd_locked(struct bpf_d *d, bool detached_ifp)
916 struct bpf_d *d = data;
942 struct bpf_d *d;
995 struct bpf_d *d;
1129 bpf_wakeup(struct bpf_d *d)
1148 struct bpf_d *d = (struct bpf_d *)arg;
1163 bpf_ready(struct bpf_d *d)
1183 struct bpf_d *d;
1312 reset_d(struct bpf_d *d)
1375 struct bpf_d *d;
1945 bpf_setf(struct bpf_d *d, struct bpf_program *fp, u_long cmd)
2085 bpf_setif(struct bpf_d *d, struct ifreq *ifr)
2130 struct bpf_d *d;
2167 struct bpf_d *d;
2200 struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
2208 struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
2232 struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
2304 struct bpf_d *d;
2368 struct bpf_d *d;
2434 struct bpf_d *d;
2497 bpf_hdrlen(struct bpf_d *d)
2563 catchpacket(struct bpf_d *d, u_char *pkt, u_int pktlen, u_int snaplen,
2564 void (*cpfn)(struct bpf_d *, caddr_t, u_int, void *, u_int),
2729 struct bpf_d *d;
2737 d = __containerof(ctx, struct bpf_d, epoch_ctx);
2851 struct bpf_d *d;
2890 bpf_getdltlist(struct bpf_d *d, struct bpf_dltlist *bfl)
2929 bpf_setdlt(struct bpf_d *d, u_int dlt)
2988 struct bpf_d *bd;
3012 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd)
3052 struct bpf_d *bd;