bpf_if
struct bpf_if *bpf; /* USB Packet Filter */
_Static_assert(offsetof(struct bpf_if, bif_dlist) == 0,
bif_attachd(struct bpf_if *bp)
bif_detachd(struct bpf_if *bp)
bif_wrsize(struct bpf_if *bp)
bif_promisc(struct bpf_if *bp, bool on)
struct bpf_if *bp = d->bd_bif;
struct bpf_if *const bp = d->bd_bif;
struct bpf_if *bp;
bif_mac_check_receive(struct bpf_if *bp, struct bpf_d *d)
struct bpf_if *bp;
bpf_attachd(struct bpf_d *d, struct bpf_if *bp)
bpf_tap(struct bpf_if *bp, u_char *pkt, u_int pktlen)
bpf_mtap(struct bpf_if *bp, struct mbuf *m)
VNET_DEFINE_STATIC(LIST_HEAD(, bpf_if), bpf_iflist) = LIST_HEAD_INITIALIZER();
static void bpfif_ref(struct bpf_if *);
static void bpfif_rele(struct bpf_if *);
bpf_mtap2(struct bpf_if *bp, void *data, u_int dlen, struct mbuf *m)
static int bpf_attachd(struct bpf_d *d, struct bpf_if *);
struct bpf_if *
struct bpf_if *bp;
struct bpf_if *bp;
bpf_detach(struct bpf_if *bp)
bpf_vmove(struct bpf_if *bp)
struct bpf_if *bp;
struct bpf_if *bp;
struct bpf_if *bp;
struct bpf_if *bp;
bpf_tap(struct bpf_if *bp, u_char *pkt, u_int pktlen)
bpf_mtap(struct bpf_if *bp, struct mbuf *m)
bpf_mtap2(struct bpf_if *bp, void *d, u_int l, struct mbuf *m)
ifp->if_bpf = __DECONST(struct bpf_if *, &dead_bpf_if);
struct bpf_if *bp;
bp = __containerof(ctx, struct bpf_if, epoch_ctx);
bpfif_ref(struct bpf_if *bp)
bpfif_rele(struct bpf_if *bp)
struct bpf_if *bp;
LIST_ENTRY(bpf_if) bif_next; /* descriptor list */
struct bpf_if *bp;
struct bpf_if;
struct bpf_if * bpf_attach(const char *, u_int, u_int,
void bpf_detach(struct bpf_if *);
void bpf_vmove(struct bpf_if *bp);
void bpf_tap(struct bpf_if *, u_char *, u_int);
void bpf_mtap(struct bpf_if *, struct mbuf *);
void bpf_mtap2(struct bpf_if *, void *, u_int, struct mbuf *);
bpf_peers_present(const struct bpf_if *bpf)
struct bpf_if *bif;
ifp->if_bpf = __DECONST(struct bpf_if *, &dead_bpf_if);
struct bpf_if * bd_bif; /* interface descriptor */
struct bpf_if;
void ether_vlan_mtap(struct bpf_if *, struct mbuf *,
struct bpf_if *
ether_vlan_mtap(struct bpf_if *bp, struct mbuf *m, void *data, u_int dlen)
struct bpf_if *if_bpf; /* packet filter structure */
struct bpf_if *if_getbpf(if_t ifp);
struct bpf_if *iv_rawbpf; /* packet filter structure */
VNET_DEFINE_STATIC(struct bpf_if *, bpf_pflog);
struct bpf_if *bpf;