Lines Matching defs:dlt
2574 * Attach an interface to bpf. dlt is the link layer type; hdrlen is the
2578 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
2581 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf);
2586 * defining the interface to be attached, dlt is the link layer type,
2591 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)
2603 bp->bif_dlt = dlt;
2619 * query the dlt and hdrlen before detach so we can re-attch the if_bpf
2798 bpf_setdlt(struct bpf_d *d, u_int dlt)
2806 if (d->bd_bif->bif_dlt == dlt)
2811 if (bp->bif_ifp == ifp && bp->bif_dlt == dlt)
3017 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
3020 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf);
3024 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp)