Lines Matching refs:dlt
194 static int bpf_setif(struct bpf_d *, ifnet_t ifp, u_int32_t dlt);
495 /* Only call dlil_set_bpf_tap for primary dlt */
531 /* Only call dlil_set_bpf_tap for primary dlt */
1348 u_int dlt;
1350 bcopy(addr, &dlt, sizeof (dlt));
1351 error = bpf_setdlt(d, dlt);
1621 bpf_setif(struct bpf_d *d, ifnet_t theywant, u_int32_t dlt)
1632 if (ifp == 0 || ifp != theywant || (dlt != 0 && dlt != bp->bif_dlt))
1713 bpf_setdlt(struct bpf_d *d, uint32_t dlt)
1721 if (d->bd_bif->bif_dlt == dlt)
1725 if (bp->bif_ifp == ifp && bp->bif_dlt == dlt)
1975 u_int32_t dlt,
2003 (dlt != 0 && bp->bif_dlt != dlt); bp = bp->bif_next)
2060 u_int32_t dlt,
2065 bpf_tap_imp(ifp, dlt, m, hdr, hlen, 1);
2071 u_int32_t dlt,
2076 bpf_tap_imp(ifp, dlt, m, hdr, hlen, 0);
2238 * in the driver's softc; dlt is the link layer type; hdrlen is the fixed
2242 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
2244 bpf_attach(ifp, dlt, hdrlen, NULL, NULL);
2250 u_int32_t dlt,
2266 * Check if this interface/dlt is already attached, record first
2270 bp_temp->bif_dlt != dlt); bp_temp = bp_temp->bif_next) {
2276 printf("bpfattach - %s%d with dlt %d is already attached\n",
2277 ifp->if_name, ifp->if_unit, dlt);
2285 bp_new->bif_dlt = dlt;