Lines Matching refs:bpf_if
105 struct bpf_if { struct
113 struct bpf_if **bif_bpf; /* Pointer to pointer to us */ argument
118 CTASSERT(offsetof(struct bpf_if, bif_ext) == 0); argument
184 CK_LIST_HEAD(bpf_iflist, bpf_if);
189 static void bpfif_ref(struct bpf_if *);
190 static void bpfif_rele(struct bpf_if *);
194 static void bpf_attachd(struct bpf_d *, struct bpf_if *);
304 struct bpf_if *bp; in bpfif_free()
306 bp = __containerof(ctx, struct bpf_if, epoch_ctx); in bpfif_free()
312 bpfif_ref(struct bpf_if *bp) in bpfif_ref()
319 bpfif_rele(struct bpf_if *bp) in bpfif_rele()
721 bpf_attachd(struct bpf_d *d, struct bpf_if *bp) in bpf_attachd()
854 struct bpf_if *bp; in bpf_detachd_locked()
1182 struct bpf_if *bp; in bpfwrite()
2087 struct bpf_if *bp; in bpf_setif()
2310 bpf_tap(struct bpf_if *bp, u_char *pkt, u_int pktlen) in bpf_tap()
2374 bpf_mtap(struct bpf_if *bp, struct mbuf *m) in bpf_mtap()
2439 bpf_mtap2(struct bpf_if *bp, void *data, u_int dlen, struct mbuf *m) in bpf_mtap2()
2796 struct bpf_if **driverp) in bpfattach2()
2798 struct bpf_if *bp; in bpfattach2()
2835 bpf_get_bp_params(struct bpf_if *bp, u_int *bif_dlt, u_int *bif_hdrlen) in bpf_get_bp_params()
2857 struct bpf_if *bp; in bpf_ifdetach()
2887 struct bpf_if *bp, *bp_temp; in bpfdetach()
2897 *bp->bif_bpf = __DECONST(struct bpf_if *, &dead_bpf_if); in bpfdetach()
2930 struct bpf_if *bp; in bpf_getdltlist()
2970 struct bpf_if *bp; in bpf_setdlt()
3022 struct bpf_if *bp; in bpf_zero_counters()
3086 struct bpf_if *bp; in bpf_stats_sysctl()
3156 bpf_tap(struct bpf_if *bp, u_char *pkt, u_int pktlen) in bpf_tap()
3166 bpf_mtap(struct bpf_if *bp, struct mbuf *m) in bpf_mtap()
3176 bpf_mtap2(struct bpf_if *bp, void *d, u_int l, struct mbuf *m) in bpf_mtap2()
3193 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp) in bpfattach2()
3196 *driverp = __DECONST(struct bpf_if *, &dead_bpf_if); in bpfattach2()
3226 bpf_show_bpf_if(struct bpf_if *bpf_if) in bpf_show_bpf_if() argument
3229 if (bpf_if == NULL) in bpf_show_bpf_if()
3231 db_printf("%p:\n", bpf_if); in bpf_show_bpf_if()
3232 #define BPF_DB_PRINTF(f, e) db_printf(" %s = " f "\n", #e, bpf_if->e); in bpf_show_bpf_if()
3241 BPF_DB_PRINTF_RAW("%u", refcount_load(&bpf_if->bif_refcnt)); in bpf_show_bpf_if()
3244 DB_SHOW_COMMAND(bpf_if, db_show_bpf_if) in DB_SHOW_COMMAND() argument
3252 bpf_show_bpf_if((struct bpf_if *)addr); in DB_SHOW_COMMAND()