bpf_d
bpf_setf(struct bpf_d *d, struct bpf_program *fp)
bpf_setif(struct bpf_d *d, char *ifname, int namesize)
LIST_HEAD(, bpf_d) bpf_list;
bpf_ifname(struct bpf_d *d, char *buffer, int bufsize)
static int bpf_allocbufs(struct bpf_d *);
struct bpf_d *d = bpf_dev_get(getminor(dev));
static void bpf_clear_timeout(struct bpf_d *);
static void bpf_deliver(struct bpf_d *, cp_fn_t,
static void bpf_freed(struct bpf_d *);
static int bpf_ifname(struct bpf_d *d, char *, int);
static int bpf_attachd(struct bpf_d *, const char *, int);
static void bpf_detachd(struct bpf_d *);
bpf_deliver(struct bpf_d *d, cp_fn_t cpfn, void *marg, uint_t pktlen,
static int bpf_setif(struct bpf_d *, char *, int);
struct bpf_d *, d, void *, marg, uint_t, pktlen, uint_t, slen);
struct bpf_d *d = arg;
bpf_wakeup(struct bpf_d *);
static void catchpacket(struct bpf_d *, uchar_t *, uint_t, uint_t,
struct bpf_d *d = arg;
static void reset_d(struct bpf_d *);
static int bpf_getdltlist(struct bpf_d *, struct bpf_dltlist *);
catchpacket(struct bpf_d *d, uchar_t *pkt, uint_t pktlen, uint_t snaplen,
static int bpf_setdlt(struct bpf_d *, void *);
static void bpf_dev_add(struct bpf_d *);
static struct bpf_d *bpf_dev_find(minor_t);
static struct bpf_d *bpf_dev_get(minor_t);
static void bpf_dev_remove(struct bpf_d *);
bpf_allocbufs(struct bpf_d *d)
bpf_freed(struct bpf_d *d)
bpf_getdltlist(struct bpf_d *d, struct bpf_dltlist *listp)
bpf_setdlt(struct bpf_d *d, void *addr)
bpf_clear_timeout(struct bpf_d *d)
static struct bpf_d *
struct bpf_d *d = NULL;
bpf_dev_add(struct bpf_d *d)
bpf_dev_remove(struct bpf_d *d)
struct bpf_d *stor;
static struct bpf_d *
struct bpf_d *d = NULL;
bpf_attachd(struct bpf_d *d, const char *ifname, int dlt)
bpf_detachd(struct bpf_d *d)
struct bpf_d *d;
d = (struct bpf_d *)kmem_zalloc(sizeof (*d), KM_SLEEP);
struct bpf_d *d = bpf_dev_get(getminor(dev));
struct bpf_d *d = bpf_dev_get(getminor(dev));
bpf_wakeup(struct bpf_d *d)
struct bpf_d *d = arg;
struct bpf_d *d = bpf_dev_get(getminor(dev));
DTRACE_PROBE4(bpf__tx, struct bpf_d *, d, int, dlt,
reset_d(struct bpf_d *d)
struct bpf_d *d = bpf_dev_get(getminor(dev));
LIST_ENTRY(bpf_d) bd_list; /* List of bpf_d */
LIST_ENTRY(bpf_d) bd_next; /* List attaced to bif_if */
int bpf_setf(struct bpf_d *, struct bpf_program *);