Lines Matching defs:dlt
2768 * Attach an interface to bpf. dlt is the link layer type; hdrlen is the
2772 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
2775 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf);
2780 * defining the interface to be attached, dlt is the link layer type,
2785 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen,
2798 bp->bif_dlt = dlt;
2819 * query the dlt and hdrlen before detach so we can re-attch the if_bpf
2929 bpf_setdlt(struct bpf_d *d, u_int dlt)
2942 if (d->bd_bif->bif_dlt == dlt)
2947 if (bp->bif_ifp == ifp && bp->bif_dlt == dlt)
3151 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
3154 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf);
3158 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)