bpf_d
reset_d(struct bpf_d *d)
struct bpf_d *d;
bif_mac_check_receive(struct bpf_if *bp, struct bpf_d *d)
bpf_chkdir(struct bpf_d *d, struct mbuf *m)
bpf_setf(struct bpf_d *d, struct bpf_program *fp, u_long cmd)
bpf_attachd(struct bpf_d *d, struct bpf_if *bp)
struct bpf_d *d;
struct bpf_d *d;
struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
struct bpf_d *d;
struct bpf_d *d;
struct bpf_d *d;
static void bpfd_ref(struct bpf_d *);
static void bpfd_rele(struct bpf_d *);
static int bpf_attachd(struct bpf_d *d, struct bpf_if *);
static void bpf_detachd(struct bpf_d *, bool);
bpf_hdrlen(struct bpf_d *d)
bpf_wakeup(struct bpf_d *);
static void catchpacket(struct bpf_d *, u_char *, u_int, u_int,
void (*)(struct bpf_d *, caddr_t, u_int, void *, u_int),
static void reset_d(struct bpf_d *);
catchpacket(struct bpf_d *d, u_char *pkt, u_int pktlen, u_int snaplen,
void (*cpfn)(struct bpf_d *, caddr_t, u_int, void *, u_int),
static int bpf_setf(struct bpf_d *, struct bpf_program *, u_long cmd);
static int bpf_getdltlist(struct bpf_d *, struct bpf_dltlist *);
static int bpf_setdlt(struct bpf_d *, u_int);
struct bpf_d *d;
d = __containerof(ctx, struct bpf_d, epoch_ctx);
struct bpf_d *d;
struct bpf_d *d;
bpf_getdltlist(struct bpf_d *d, struct bpf_dltlist *bfl)
bpf_setdlt(struct bpf_d *d, u_int dlt)
struct bpf_d *bd;
bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd)
struct bpf_d *bd;
bpfd_ref(struct bpf_d *d)
bpfd_rele(struct bpf_d *d)
bpf_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, void *src,
bpf_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src,
bpf_buf_reclaimed(struct bpf_d *d)
bpf_canfreebuf(struct bpf_d *d)
bpf_canwritebuf(struct bpf_d *d)
bpf_buffull(struct bpf_d *d)
bpf_bufheld(struct bpf_d *d)
bpf_free(struct bpf_d *d)
bpf_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio)
bpf_ioctl_sblen(struct bpf_d *d, u_int *i)
bpf_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i)
bpf_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
bpf_ioctl_setzbuf(struct thread *td, struct bpf_d *d, struct bpf_zbuf *bz)
bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct bpf_insn *fcode,
bpf_detachd(struct bpf_d *d, bool detached_ifp)
struct bpf_d *d = data;
struct bpf_d *d;
struct bpf_d *d;
bpf_wakeup(struct bpf_d *d)
struct bpf_d *d = (struct bpf_d *)arg;
bpf_ready(struct bpf_d *d)
struct bpf_d *d;
CK_LIST_HEAD(bpfd_list, bpf_d);
void bpf_bufheld(struct bpf_d *d);
typedef int bif_mac_check_receive_t(void *, struct bpf_d *);
bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src,
bpf_buffer_free(struct bpf_d *d)
bpf_buffer_init(struct bpf_d *d)
bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i)
bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio)
void bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
void bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
void bpf_buffer_free(struct bpf_d *d);
void bpf_buffer_init(struct bpf_d *d);
int bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i);
int bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len,
bpf_ifnet_mac_check_receive(void *arg, struct bpf_d *d)
bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
bpf_zerocopy_buffull(struct bpf_d *d)
bpf_zerocopy_bufheld(struct bpf_d *d)
bpf_zerocopy_buf_reclaimed(struct bpf_d *d)
bpf_zerocopy_canfreebuf(struct bpf_d *d)
bpf_zerocopy_canwritebuf(struct bpf_d *d)
bpf_zerocopy_free(struct bpf_d *d)
bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i)
bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d,
bpf_zerocopy_ioctl_setzbuf(struct thread *td, struct bpf_d *d,
void bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
void bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
void bpf_zerocopy_buffull(struct bpf_d *);
void bpf_zerocopy_bufheld(struct bpf_d *);
void bpf_zerocopy_buf_reclaimed(struct bpf_d *);
int bpf_zerocopy_canfreebuf(struct bpf_d *);
int bpf_zerocopy_canwritebuf(struct bpf_d *);
void bpf_zerocopy_free(struct bpf_d *d);
int bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d,
int bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d,
int bpf_zerocopy_ioctl_setzbuf(struct thread *td, struct bpf_d *d,
CK_LIST_ENTRY(bpf_d) bd_next; /* Linked list of descriptors */
int mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp);
void mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d);
void mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m);
void mac_bpfdesc_destroy(struct bpf_d *);
void mac_bpfdesc_init(struct bpf_d *);
struct bpf_d;
mac_bpfdesc_init(struct bpf_d *d)
mac_bpfdesc_destroy(struct bpf_d *d)
mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d)
mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m)
mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp)
typedef int (*mpo_bpfdesc_check_receive_t)(struct bpf_d *d,
struct bpf_d *d, struct label *dlabel);
typedef void (*mpo_bpfdesc_create_mbuf_t)(struct bpf_d *d,
struct bpf_d;
biba_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
biba_bpfdesc_create(struct ucred *cred, struct bpf_d *d,
biba_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
lomac_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d,
lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
mls_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
mls_bpfdesc_create(struct ucred *cred, struct bpf_d *d, struct label *dlabel)
mls_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
stub_bpfdesc_create(struct ucred *cred, struct bpf_d *d,
stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
test_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
test_bpfdesc_create(struct ucred *cred, struct bpf_d *d,
test_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,