Lines Matching defs:bpf_if

137  *   - struct bpf_if
151 * - struct bpf_if is iterated on bpf_iflist with psz or psref
163 bpf_if_acquire(struct bpf_if *bp, struct psref *psref)
170 bpf_if_release(struct bpf_if *bp, struct psref *psref)
199 /* Macros for bpf_if on bpf_iflist */
203 PSLIST_READER_FOREACH((__bp), &bpf_iflist, struct bpf_if, \
206 PSLIST_WRITER_FOREACH((__bp), &bpf_iflist, struct bpf_if, \
215 /* Macros for bpf_d on bpf_if#bif_dlist_pslist */
237 static void bpf_deliver(struct bpf_if *,
247 static void bpf_attachd(struct bpf_d *, struct bpf_if *);
474 bpf_attachd(struct bpf_d *d, struct bpf_if *bp)
502 struct bpf_if *bp;
841 struct bpf_if *bp;
1436 struct bpf_if *bp;
1712 bpf_deliver(struct bpf_if *bp, void *(*cpfn)(void *, const void *, size_t),
1760 _bpf_mtap2(struct bpf_if *bp, void *data, u_int dlen, struct mbuf *m,
1792 _bpf_mtap(struct bpf_if *bp, struct mbuf *m, u_int direction)
1833 _bpf_mtap_af(struct bpf_if *bp, uint32_t af, struct mbuf *m, u_int direction)
1855 _bpf_mtap_sl_in(struct bpf_if *bp, u_char *chdr, struct mbuf **m)
1878 _bpf_mtap_sl_out(struct bpf_if *bp, u_char *chdr, struct mbuf *m)
1901 bpf_mbuf_enqueue(struct bpf_if *bp, struct mbuf *m)
1924 bpf_mbuf_dequeue(struct bpf_if *bp)
1951 struct bpf_if *bp = arg;
1967 struct bpf_if *bp = ifp->if_bpf;
2186 _bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)
2188 struct bpf_if *bp;
2216 struct bpf_if *bp;
2233 panic("%s: no bpf_if found for %s", __func__, ifp->if_xname);
2242 struct bpf_if *bp;
2304 struct bpf_if *bp;
2328 struct bpf_if *bp;
2376 struct bpf_if *bp;
2607 _bpf_register_track_event(struct bpf_if **driverp,
2608 void (*_fun)(struct bpf_if *, struct ifnet *, int, int))
2610 struct bpf_if *bp;
2633 _bpf_deregister_track_event(struct bpf_if **driverp,
2634 void (*_fun)(struct bpf_if *, struct ifnet *, int, int))
2636 struct bpf_if *bp;